Clientside validator does not fire in RadWindow

3 posts, 0 answers
  1. drinell
    drinell avatar
    9 posts
    Member since:
    Jun 2012

    Posted 01 Feb 2009 Link to this post

    I have added a couple of required field validators to a form which I display within a rad window.
    Now, the problem is that on submitting the page, the client side validation does not seem to be working. The validation error messages show up after the postback though.
    Any idea what I should be doing differently?
  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 02 Feb 2009 Link to this post

    Hi Sreejath,

    RadWindow should not be the reason for the problem in this case. As you can see from the attached movie, the validator is working as expected.

    Please open a support ticket and send us a small sample project where the problem can be reproduced. We will check it and if the problem is in our products, we will do our best to help.

    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Cary
    Cary avatar
    18 posts
    Member since:
    Feb 2008

    Posted 09 Feb 2009 Link to this post

    I had a similar issue, expect the problem arrises in that when they click on submit, I use the javascript calls to close the rad window. The validation does fire however I want it to stop the rad window from closing if the validation is not valid. I'm guessing that's also the situation the OP is in as well.

    What you need to do in that case is add this test around your java script.

     if (Page_ClientValidate() == true) { 
          //Call My Functions 
Back to Top