Posted 17 years ago
by Logicway
I have read the forums and the documentation, but would like to be sure which events to use for (cancelling) page changes.
I want to:
- programatically change page sequence
- perform validation before page change
- cancel page change if not validated
- do something if validated
Which events should I use for this?
Can I use the [pagename]-nextbuttonclick-event for all cases?
Is it adviced to use the [pagename]-nextbuttonclick-event only for page sequence changing?
Is it also adviced to use the selectionchanging-event for validation before page change?
What exactly cancels the e.Cancel for the nextbuttonclick-event and the selectionchanging-event? Is it the same for both, or is it different?
Why isn't there a selectionchanging-event for wizardpage class?
I want to:
- programatically change page sequence
- perform validation before page change
- cancel page change if not validated
- do something if validated
Which events should I use for this?
Can I use the [pagename]-nextbuttonclick-event for all cases?
Is it adviced to use the [pagename]-nextbuttonclick-event only for page sequence changing?
Is it also adviced to use the selectionchanging-event for validation before page change?
What exactly cancels the e.Cancel for the nextbuttonclick-event and the selectionchanging-event? Is it the same for both, or is it different?
Why isn't there a selectionchanging-event for wizardpage class?