New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
PreviousButtonClick
The server-side OnPreviousButtonClick event occurs when a the previous button is clicked.
The OnPreviousButtonClick event handler receives two arguments:
-
The RadWizard that contains the active step. This argument is of type object, but can be cast to the RadWizard type.
-
A WizardEventArgs object. This object has two properties:
-
CurrentStepIndex - the current step index.
-
CurrentStep - a reference the current step.
-
NextStepIndex - the next step index.
-
NextStep - a reference to the next step.
-
Use the OnPreviousButtonClick event handler to respond when a the previous button is clicked.
C#
protected void RadWizard1_PreviousButtonClick(object sender, WizardEventArgs e)
{
Label1.Text = "You clicked on PreviousButton button";
}