B.Sc., MCSD, Independent Consultant, Regina, SK Canada
ASP.NET 2.0 Wizard Control - Cancelling the next/previous button
If your using the ASP.NET 2.0 Wizard control and you want to stop the next button from going to the next step you have to set the event arg property Cancel to true like so:
PrivateSub Wizard1_NextButtonClick(ByVal sender AsObject, ByVal e As System.Web.UI.WebControls.WizardNavigationEventArgs) Handles Wizard1.NextButtonClick
e.Cancel = True EndSub
No comments:
Post a comment