navigate to next page click on context itself rather than click on next and prevous button

5 posts, 0 answers
  1. Binary
    Binary avatar
    10 posts
    Member since:
    Apr 2015

    Posted 18 Dec 2015 Link to this post

    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 ?
  2. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 22 Dec 2015 Link to this post

    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:

    protected void btnNavigate_Click(object sender, EventArgs e)
        {
            RadWizard1.ActiveStepIndex = RadWizard1.ActiveStepIndex + 1; // this is navigate to the next step
        }

    Regards,
    Nencho
    Telerik
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 29 Jun in reply to Nencho Link to this post

    When I try this for dynamically generated wizardsteps I get:

     

    Object reference not set to an instance of an object.

     

  5. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 01 Jul Link to this post

    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
  6. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 01 Jul in reply to Nencho Link to this post

    I set the AddHandler of the buttons now on WizardStepCreated and it is working.

     

    My bad

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017