spen_lang
asked on
VB.NET Validate Controls on single tab page
Hi,
I have a windows form that has a TabControl that consists of 4 tab pages. Each tab page has its own navigation bar that allows the user to save the data on the tabpage. When the save button is clicked the controls on the form is validated using
However, this validates all controls on the form. Is it possible to only validate the controls on the tabpage that has focus when the save button is called and NOT the entire form?
Thanks, Greg
I have a windows form that has a TabControl that consists of 4 tab pages. Each tab page has its own navigation bar that allows the user to save the data on the tabpage. When the save button is clicked the controls on the form is validated using
Me.ValidateChildren()
However, this validates all controls on the form. Is it possible to only validate the controls on the tabpage that has focus when the save button is called and NOT the entire form?
Thanks, Greg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.