views:

76

answers:

1

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

or

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

Please note,

I do not want reference to already made controls like free 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.

+1  A: 

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):

R0MANARMY