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

Clientside validator does not fire in RadWindow

2 Answers 116 Views
Window
This is a migrated thread and some comments may be shown as answers.
drinell
Top achievements
Rank 1
drinell asked on 02 Feb 2009, 02:08 AM
Hi,
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?
Thanks,
Sreejath

2 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 02 Feb 2009, 01:39 PM
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.


Greetings,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Cary
Top achievements
Rank 2
answered on 09 Feb 2009, 08:41 PM
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 
  }  
Tags
Window
Asked by
drinell
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Cary
Top achievements
Rank 2
Share this question
or