RadEditor Validation

2 posts, 0 answers
  1. Daniel
    Daniel avatar
    9 posts
    Member since:
    Sep 2008

    Posted 03 Jul 2014 Link to this post

    I am interested in knowing how the radeditor handles requestvalidation - does it encode the html within a javascript function and then decode server-side? Can you provide any information on how radeditor handles validation - like, when it does it, and where?


  2. Ianko
    Ianko avatar
    1949 posts

    Posted 08 Jul 2014 Link to this post

    Hi Daniel,

    The native request validation is done via the native ASP.NET WebForms request validation and its handling is entirely up to the application configurations. More about this is available in this MSDN article.

    If by html you mean the content in the RadEditor, then this is habdled by the RadEditor entirely via client-side techniques. The RadEditor renders a hidden textarea element that preserve the content through post backs.  The html content that is inserted is encoded and preserved on client-side via the submit event and on pageLoad is decoded and retrieved from the hidden textarea.

    Further, the value of the hidden textarea is handled using the ViewState, which is again entirely handled by the native ASP.NET technology.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top