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

Editor disappears after form validation fails

1 Answer 53 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 16 May 2013, 04:01 PM
I am new to RadEditor and for the most part, love it; however, I must require that the user enters information and I cannot get the required field validators or custom validators to work with it. In fact, when form validation fails, the content area of the editor disappears and the menu bar is relocated.

What can I do to make sure that the field passes form validation (just needs to have text) and doesn't disappear (i.e. css gets dropped)? Setting the content type doesn't make any difference.

BTW, I know that it doesn't truly disappear but the styling still gets lost or messed up.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 21 May 2013, 12:31 PM
Hello,

The following demo shows how to validate the RadEditor's content using an ASP.NET validator: Editor - ASP.NET Validators Support.

I hope this will help you to configure the RadEditor and the validator. If not, could you provide your markup for further investigation?

Best regards,
Nikolay
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
Matt
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or