Dynamically Adding Editor to a User Control

3 posts, 1 answers
  1. Matt
    Matt avatar
    13 posts
    Member since:
    Apr 2008

    Posted 06 Jan 2009 Link to this post

    I am trying to use the radEditor in a custom control in my control library.  However, since the editor is being added to the control dynamically, the content is being lost on postback.  Is there any way to retrieve the content of the editor?  Its not in the request object, is it?

    Thanks,
    Matt
  2. Answer
    Serrin
    Serrin avatar
    286 posts
    Member since:
    Sep 2008

    Posted 06 Jan 2009 Link to this post

    Hey Matt,

    Have you tried including a hidden field on the control that persists viewstate through postback?  I have a similar setup in one of my projects and that works well for me. I just drop the editor content into there and use content on postback.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Matt
    Matt avatar
    13 posts
    Member since:
    Apr 2008

    Posted 08 Jan 2009 Link to this post

    Serrin,

    Thanks for the post...that worked for me!

    Matt
Back to Top