Link to home
Start Free TrialLog in
Avatar of spen_lang
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

Me.ValidateChildren()

Open in new window


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
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial