Is there way to navigate to next page of wizard by click on the content itself (eg. Gridview row ) instead of clicking on the previous and next button on wizard ? I do not want to use "next" and "previous" button that comes with the wizard. For previous button I just want to use wizard tab itself but for next button I want to use content on page itself ( may be button on content page itself or table row etc ). Can this be achieve in wizard ?
4 Answers, 1 is accepted
0
Hello Binary,
Yes, you can navigate to the next step from any element in the content of a given step. You can simply set the ActiveStepIndex property of the RadWizard, to the value of the index of the step that you need to navigate to. For example:
Regards,
Nencho
Telerik
Yes, you can navigate to the next step from any element in the content of a given step. You can simply set the ActiveStepIndex property of the RadWizard, to the value of the index of the step that you need to navigate to. For example:
protected
void
btnNavigate_Click(
object
sender, EventArgs e)
{
RadWizard1.ActiveStepIndex = RadWizard1.ActiveStepIndex + 1; // this is navigate to the next step
}
Regards,
Nencho
Telerik
0
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 29 Jun 2016, 10:03 AM
When I try this for dynamically generated wizardsteps I get:
Object reference not set to an instance of an object.
0
Hello Marc,
I tried to replicate the issue that you've described, but to no avail - the previously demonstrated implementation in this thread works properly with dynamically created steps.
In the attachment you can find the sample example, that was used for local tests proposes. You can give it a try at your end and let us know if you have any questions.
Hope this would help.
Regards,
Nencho
Telerik
I tried to replicate the issue that you've described, but to no avail - the previously demonstrated implementation in this thread works properly with dynamically created steps.
In the attachment you can find the sample example, that was used for local tests proposes. You can give it a try at your end and let us know if you have any questions.
Hope this would help.
Regards,
Nencho
Telerik
0
Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 01 Jul 2016, 08:52 AM
I set the AddHandler of the buttons now on WizardStepCreated and it is working.
My bad