Hi,
I addedd 3 steps in Wizard Control. Step1, Step 2 and Step 3. Step 1, and step 2 has AllowReturn property = false. I want to display an error message if user clicks on the SideBar's hyperlink. "You can't go back"
It solved by using below code :
protected void Wizard1_SideBarButtonClick(object sender, WizardNavigationEventArgs e) { if (e.NextStepIndex < e.CurrentStepIndex) { Response.Write("<script>alert('You can not go back')</script>"); } }
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.