Wizard control nextpage button

Thread ID:

Created:

Updated:

Platform:

Replies:

I'm using the wizard control and I need to validate some data in a wizard page and avoid to change to the next page when the next button is clicked if the data don't match some criteria.How can I avoid change to next page if some condition is not granted when the user click the next button?.

This can be acheived by handling the BeforeNext event of Wizardcontrol. BeforeNext event occurs before the corresponding action happens. If canceled, further event will not occur. This event provide you more ways to validate pages. Here is the code snippets: