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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ValidateChildren with TabControlAdv

Thread ID:





77070 Oct 10,2008 08:55 PM UTC Oct 14,2008 06:35 AM UTC WinForms 2
Tags: Tools
Administrator [Syncfusion]
Asked On October 10, 2008 08:55 PM UTC


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.


Administrator [Syncfusion]
Replied On October 13, 2008 01:09 PM UTC

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.


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

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:


Please let me know if any concerns.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon