This project has moved and is read-only. For the latest updates, please go here.

Backward navigation?

Apr 3, 2016 at 8:35 PM

I am using Aero Wizard and I have developed a 6 page wizard in which the order in which pages are traversed by a user is not predetermined, the order is determined dynamically based on inputs from the user.

I have the navigation working fine in the forward direction. After the 'next' button is hit the various Commit handlers set NextPage to the appropriate value.

However I am having trouble with backwards navigation. After the 'back' button is hit, i have a handler for the Rollback event but i do not know what I need to do to cause my desired page to become active.

Any help you could offer would be appreciated.
Aug 31, 2016 at 4:02 PM
Backwards navigation is handled by a stack that keeps track of the pages traversed and automatically, after handling the Rollback event, will go to the previous page. Let me know if this is not your experience.
Marked as answer by dahall on 9/10/2016 at 7:27 AM
Oct 4, 2016 at 1:53 PM
I also have a situation were I 3x pages "Criteria -> Progress -> Results" in the wizard I have created. If the user is unhappy with the result, hitting Back should take them from the results to criteria page. Instead, the wizard steps back to progress page.

It would be nice for the page have a "CanRollBackTo" property so that can be ignored when traversing the stack.
Oct 4, 2016 at 2:08 PM

For a work around I tried using the wizard page Suppress property (setting it to false on the criteria page and then when the progress page is initialised setting suppress to true). This nearly works but results in clicking the back button twice to get to the criteria page :-(
Oct 13, 2016 at 2:54 PM
Check to make sure the Next property is not set on any of the pages. With no settings that expressly tell the framework which is next or prior, it should consistently go to the next, non-suppressed page when Next is clicked and go back to the last page seen when the Back button is clicked.
Marked as answer by dahall on 10/13/2016 at 6:54 AM