开发者

What is this called? And how to achieve it?

开发者 https://www.devze.com 2023-01-01 05:43 出处:网络
I would like to make a WRITE A NEW POST page similar to ASP.NET or how to make a page similar to https://stackoverflow.com/questions/ask

I would like to make a WRITE A NEW POST page similar to ASP.NET

or

how to make a page similar to https://stackoverflow.com/questions/ask

Please note,

I do not want reference to already made controls like fr开发者_JAVA百科ee rich text editor, etc.

I would like to do the required coding myself.

I would also like to know what is the name given to this kind of page? As I search Google for how to make a post and it comes up with GET and POST methods of HTML.

Initial attempt:- on button click post back event within the update plane,

literal1.text = textbox1.text

assuming that user will provide formats like bold, but the textbox is not taking any such input.


If it's at all an option for you, I would suggest using ASP.NET MVC instead of WebForms. Although there's a bit more of a learning curve it is a more appropriate abstraction for web development.

Although most of what you are trying to do is fairly straight forward, you're right, regular TextBox controls will not take HTML input. The StackOverflow editor is a custom built editor that uses MarkDown syntax. There's some interesting information on their implementation of the editor here (in no particular order):

  • Markdown, One Year Later
  • Three Markdown Gotchas
  • Reverse Engineering the WMD Editor
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号