Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
685
UltraTabControl and UltraValidator
posted

Hello,

 

I have a problem in validating controls placed on different TabPages of an UltraTabControl.

Here is an example. I have a form with an UltraTabControl with 2 TabPages. On each TabPage there is an UltraTextbox binded to the same UltraValidator.

The two UltraTextbox are mandatory, so you must fill them with a value or the Validation won't success.

 

The problem is when, for example, I am on the second Tab and the first Textbox is empty. In this case, when i click on the Check button, the Validation doesn't have success but the MessageBox error is not shown, so actually anything doesn't happen.

Obviously I'd like that the Messagebox error would be shown, regardless of the tab I am when the Check Button is pressed.

Just as an information, the two textbox belong to the same Validation Group

 

Thanks

Claudio Di Flumeri

 


Parents
No Data
Reply
  • 71886
    Offline posted

    Hello Claudio,

    Could you please try setting the following in order to achieve the desired behavior:

     

    ultraValidator1.ValidateHiddenControls = true;
    

     

    Please do not hesitate to contact us if you need any additional assistance.

Children
No Data