Editor disappears after form validation fails

2 posts, 0 answers
  1. Matt
    Matt avatar
    92 posts
    Member since:
    Jun 2012

    Posted 16 May 2013 Link to this post

    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.
  2. Nikolay
    Admin
    Nikolay avatar
    89 posts

    Posted 21 May 2013 Link to this post

    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.
Back to Top