Author: aspnewbieperson | Posted on: 11/25/2008 12:30:54 AM | Views : 1204

Hey,
Trying to hide some buttons in a Wizard control WizardStep. I have the following code which executing just nicely, except that the buttons are not being hidden :-(

1 Protected Sub OnActiveStepChanged(ByVal Sender As Object, ByVal E As EventArgs)
2 If wiz1.ActiveStep.Equals(wiz1_Payment) Then
3 'hide the buttons if we are payment page as payment button needs to be clicked to proceed
4 wiz1.StepPreviousButtonStyle.CssClass = "hidden"
5 wiz1.StepNextButtonStyle.CssClass = "hidden"
6 Response.Write("hi" ...

Go to the complete details ...