-1

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 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.

Community
  • 1
  • 1
user287745
  • 3,071
  • 10
  • 56
  • 99
  • 2
    If I were you, I would try to learn first, and then this kind of questions will be automatically self-answered :) – mati May 29 '10 at 02:50
  • Possibly related question [What is a good client side markdown editor?](http://stackoverflow.com/questions/2357022/what-is-a-good-client-side-markdown-editor) – Roman May 29 '10 at 03:04
  • 1
    Do you even have to ask why this was downvoted? A good summary of the question would be `I want to learn a client side scripting language` (note that there isn't even a question in that summary, that's on purpose) – Jasper Jul 18 '10 at 20:02

1 Answers1

1

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

Community
  • 1
  • 1
Roman
  • 19,581
  • 6
  • 68
  • 84