Posted 17 years ago
by Matt Swanton

Hi,
I'm using WizardCommands.GoToPage to move from one wizard page to another once a long running process (an import) has finished executing.
Sometimes the GoToPage is not firing and I'm not sure why. When I call CanExecute from the GoToPage command it returns false.
The code I am using is below, the page does exist and this sometimes works.
WizardCommands.GoToPage.Execute("importCompletePage", null)
Is it possible to let me know what conditions exist that can prevent the GoToPage from executing? I looked in the help docs but couldn't see anything on this on the Command Model page.
Many thanks
Matt
I'm using WizardCommands.GoToPage to move from one wizard page to another once a long running process (an import) has finished executing.
Sometimes the GoToPage is not firing and I'm not sure why. When I call CanExecute from the GoToPage command it returns false.
The code I am using is below, the page does exist and this sometimes works.
WizardCommands.GoToPage.Execute("importCompletePage", null)
Is it possible to let me know what conditions exist that can prevent the GoToPage from executing? I looked in the help docs but couldn't see anything on this on the Command Model page.
Many thanks
Matt