Hi All,
I'm currently in the process of writing a wizard and want to make each page validate before moving onto the next page.
I want to prevent the user from progressing by calling the Validate() method on every child control on the page and and stopping navigation if any of them fail.
The problem is that the Validate() method on every child control is a private method so I can't access it directly. Can anyone give me some advice on how to get a result from the Validate() method on a TextBox (For example) using Reflection?
Many thanks!
Edit: Sorry - should have specified, this is Windows Forms, .Net 2.0