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:

Private Sub Wizard1_NextButtonClick(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.WizardNavigationEventArgs) Handles Wizard1.NextButtonClick
e.Cancel = True
End Sub

Comments

  1. The numerous positions out there in metal fabrication have been discussed in detail within the previous part. They assess manufacturing operations in industrial environments and develop efficient manufacturing systems. A millwright operates equipment on a construction web site or a manufacturing plant. Gel Pens He is also be|can be} responsible for reviewing blueprints, getting ready machine parts, becoming items into specific machines, and replacing the defective ones. Moreover, additionally it is their accountability decide out} the best tools such as drills, cutters, soldering irons, and so forth.

    ReplyDelete

Post a Comment

Popular posts from this blog

.NET generics with private accessors not compatible with MSTest

Microsoft.ApplicationBlocks. ExceptionManagement The event source x does not exist error

404 error in a REST WCF service