Optional Pages in RadWizard

6 posts, 0 answers
  1. Connor
    Connor avatar
    3 posts
    Member since:
    Jul 2015

    Posted 16 Jul 2015 Link to this post

    Is there a way to make wizard pages in the RadWizard not display and skip immediately to the next? right now I'm binding a bool that determines if the page should be skipped to the pages IsEnabled property and the checking the pages IsEnabled property in the SelectionChanged event if it indicates a skip i increment or decrement the selected page index based on the direction of the change, The problem seems to be that the property bindings for the page are not populated until the page is loaded for the first time. Is there way to get the behavior i'm looking for? 
  2. Vera
    Admin
    Vera avatar
    263 posts

    Posted 21 Jul 2015 Link to this post

    Hi Connor,

    Indeed, using SelectedPageIndex property is the recommended approach for skipping pages. You can take a look at Navigation Buttons Events section of Wizard Events help article for a reference.

    Regards,
    Vera
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. Connor
    Connor avatar
    3 posts
    Member since:
    Jul 2015

    Posted 21 Jul 2015 in reply to Vera Link to this post

    Hi Vera, 

     Thanks for the reply, what I was really trying to ask is what is the recommended way of dynamically indicating to skip a page? as I said in the original post I've been trying to use IsEnabled, but if the wizard page hasn't already loaded before the bindings on the wizard pages properties are not set correctly. 

  5. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 24 Jul 2015 Link to this post

    Hello Connor,

    I am afraid the IsEnabled property will not work in this case. As my colleague Vera said, the recommended approach for skipping pages in RadWizard is to use the SelectedPageIndex property. 

    Regards,
    Yoan
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. Connor
    Connor avatar
    3 posts
    Member since:
    Jul 2015

    Posted 24 Jul 2015 in reply to Yoan Link to this post

    Hi Yoan, 

     I am using selectedpageindex to actually skip the pages. I am asking if there is a recommended approach to a bindable flag on the page that indicates to skip it. 

  7. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 28 Jul 2015 Link to this post

    Hello Connor, 

    Currently, there is no easy way to achieve this. However, we will consider adding a property of WizardPage which will indicate whether a page will be skipped by the default page sequencing.

    Regards,
    Yoan
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
DevCraft banner