This is a migrated thread and some comments may be shown as answers.

RadEditor Validation

1 Answer 40 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 03 Jul 2014, 06:06 PM
Hi,
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?

Thanks

Daniel

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 08 Jul 2014, 06:48 AM
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.

Regards,
Ianko
Telerik
 

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.

 
Tags
Editor
Asked by
Daniel
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or