Rank: Member Groups: Member
Joined: 10/11/2007 Posts: 12
|
I have a requiredfieldvalidator for a textbox which is inside a callbackpanel. the save button which causes the validation is a trigger of the callbackpanel. my validation messagebox does not appear. Any reason for this . Thanks again for your help
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have tested with our latest version (please see your private messages for download location) and it appears to be working fine. Our steps are:
1. Create a new form; 2. Place a CallbackPanel in the form; 3. Place a TextBox and a RequiredFieldValidator inside the CallbackPanel. Set the RequiredFieldValidator's ControlToValidate to the ID of the TextBox; 4. Place a Button in the CallbackPanel, set it as a CallbackPanel Trigger;
Run the page and the validator works fine. Please let us know if your situation is different. We will be happy to look into it if you can provide a test page that reproduces the problem.
Thanks
|