Posted 20 years ago
by JMichelson
Hello.
I'm using ver. 3.0.0.120 of the wizard control and I'm experiencing a strange problem. On my simple four-page wizard, page three is a user control that contains a (third-party) grid control and an UltraComboBox. The last page contains the FINISH button which, when clicked, does data validation and generates a MESSAGEBOX if the data on the form does not validate.
The problem occurs when, on the last page, a MESSAGEBOX is generated because the form does not validate. Now, after I navigate back to page three, the navigation buttons on page three are all fouled up. The NEXT button is disabled (it shouldn't be) and when I try to click on the BACK button, the page does not navigate back and the BACK button simply disables itself. Now, I'm stuck, I can't move off the page - UNTIL I ACTUALLY CLICK INSIDE EITHER THE GRID CONTROL OR THE ULTRACOMBOBOX on the user control that is on page three. When I do that, the navigation buttons are restored to their proper states and I can proceed.
Trying to fix the problem by programmatically setting the button states on page three does not work.
I know that this is a strange error, but I've discribed it as best as I can. If you need additional information about the form, please let me know and I'll clarify.
I look forward to hearing your suggestions on how to fix this problem.
Thanks. Jeff
I'm using ver. 3.0.0.120 of the wizard control and I'm experiencing a strange problem. On my simple four-page wizard, page three is a user control that contains a (third-party) grid control and an UltraComboBox. The last page contains the FINISH button which, when clicked, does data validation and generates a MESSAGEBOX if the data on the form does not validate.
The problem occurs when, on the last page, a MESSAGEBOX is generated because the form does not validate. Now, after I navigate back to page three, the navigation buttons on page three are all fouled up. The NEXT button is disabled (it shouldn't be) and when I try to click on the BACK button, the page does not navigate back and the BACK button simply disables itself. Now, I'm stuck, I can't move off the page - UNTIL I ACTUALLY CLICK INSIDE EITHER THE GRID CONTROL OR THE ULTRACOMBOBOX on the user control that is on page three. When I do that, the navigation buttons are restored to their proper states and I can proceed.
Trying to fix the problem by programmatically setting the button states on page three does not work.
I know that this is a strange error, but I've discribed it as best as I can. If you need additional information about the form, please let me know and I'll clarify.
I look forward to hearing your suggestions on how to fix this problem.
Thanks. Jeff