locked
Rich Text box in ASP.NET RRS feed

  • Question

  • Hello Friends,

    Does any one knows how to implement rtf in ASP.NET

    I m unable to do it.

    If u have any code then plz provide it.

    Thnx

    Monday, December 3, 2007 8:30 AM

All replies

  • yes there is only one way...

    make a custom windows user control add your richtextbox there..

    n then add it to your aspx page..

    use it *** u used it on ur windows form..

     

    ucant choose item from toolbox n add it..

    i faced the similar problem in my project..

    so my mentor gave me this idea..n worked for me...

    in case u dunt know how to add windows user control to aspx chek this link

    http://steveorr.net/articles/WinformControls.aspx

     

    best of luck..

     

     

    Monday, December 3, 2007 2:32 PM
  • yes there is only one way...

    make a custom windows user control add your richtextbox there..

    n then add it to your aspx page..

    use it *** u used it on ur windows form..

     

    ucant choose item from toolbox n add it..

    i faced the similar problem in my project..

    so my mentor gave me this idea..n worked for me...

    in case u dunt know how to add windows user control to aspx chek this link

    http://steveorr.net/articles/WinformControls.aspx

     

    best of luck..

     

    Although the method above works. It *just* works. Running winform controls blindly in web applications is never reliable and gives poor performance. The entire control works on AJAX, continuously processing the page for the tiniest change/event. It might be acceptable in some specific cases but definitely not for a rich text box.

     

    It's a thumb rule to avoid <object> tags as much as we can in the web development world as it almost always breaks Web 2.0 standards.

     

    There are many RTB editors out there but my personal favourite is TinyMCE (http://tinymce.moxiecode.com/). It is both free and open source and performs very well, especially with compression enabled.

    Monday, December 3, 2007 3:11 PM
  • agreed bro...

    n this tinymce is good too..

    if i were making something for myself i will use it..

    but this one uses textarea... n it doesnt support rtf..

    the man was asking abt rtf..

     

    but god u gave me enuff knowledge abt web2.0 thnx for tht..

    i didnt knew when i fell in love with <object> tags...

    as i have been embeding media players using it for much time..

    Tuesday, December 4, 2007 3:55 AM