We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

ValidateChildren with TabControlAdv

Thread ID:

Created:

Updated:

Platform:

Replies:

77070 Oct 10,2008 04:55 PM Oct 14,2008 02:35 AM Windows Forms 2
loading
Tags: Tools
Administrator [Syncfusion]
Asked On October 10, 2008 04:55 PM

Hello,

I am using a TabControlAdv that has multiple tab pages. Some of the controls in the tab page are handling the Validated event. In my form, when the user clicks OK, I call the ValidateChildren() method (to detect errors), which should initiate the validated event on all of its child objects. However, it doesn't seem to be firing the the event on controls that are within the TabPageAdv's.

Thanks


Administrator [Syncfusion]
Replied On October 13, 2008 09:09 AM

Just as a follow up, I tried iterating through all of the tab pages in the tab control adv and running the TabControlAdv.ValidateSelectedIndex, but that did not call the Validating event on of all the contained controls. Anyways, I don't like that solution because it will cause my screen to flicker between all of the tab pages.

Thanks


Fathima Shalini P [Syncfusion]
Replied On October 14, 2008 02:35 AM

Hi Michael,

Thank you for your interest in Syncfusion Products.

We can trigger the Validation events for the controls inside TabControlAdv by setting the TabControlAdv's CausesValidation property to false. Please refer to the following link for more details:

http://bytes.com/forum/thread595454.html

Please let me know if any concerns.

Regards,
Fathima


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;