tags:

views:

31

answers:

1

I am using Wizard control in VS 2008. I searched the next button coding from net.vI want that if user id and password not match then wizard page should not move to the next step.

+2  A: 

Subscribe to the OnNextButtonClick event and do your valiadation. If your validation fail set the cancel property of the WizardNavigationEventArgs to true.

protected void ClientWizard_NextButtonClick(object sender, WizardNavigationEventArgs e)
{
  if(password dont match ....)
  e.Cancel = true;
}
alejandrobog