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

Wizard control nextpage button

Thread ID:





69309 Oct 23,2007 08:00 PM UTC Oct 24,2007 12:34 PM UTC WinForms 1
Tags: Tools
Ivan Gutierrez
Asked On October 23, 2007 08:00 PM UTC


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?.


Jisha Joy [Syncfusion]
Replied On October 24, 2007 12:34 PM UTC

Hi Ivan,

Thank you for using Syncfusion Products.

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:

private void wizardControl1_BeforeNext(object sender, CancelEventArgs e)
if (!this.textBox1.Text.Equals("Syncfusion"))
e.Cancel = true;
MessageBox.Show("ReEnter the value");


Please refer the sample in the link to illustrate this:

Please try this and let me know if this helps.



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