I was testing a simple form:
2 Panels
Each panel has a textbox, requiredfield validator and a button
On page load, panel 1 is visible, panel 2 is not visible.
Panel 1's textbox has required field validator
Clicking button on panel one makes Panel 1 not visible and Panel 2 visible
Here's the problem:
On NETSCAPE / OPERA / MOZILLA:
With Client Side validation turned OFF on the requiredfield validator, Panel 1 does not validate on button click, it simply shows panel 2. If I press panel 2's button, validation errors for Panel 1's textbox.
This is wacky?? If I'm doing all server-side validation, why doesn't the validation event fire on Panel 1's button click?
The page works as expected in IE, but that's only 75% of my user base.
How can I get ASP.NET to server-side validate the textbox of Panel 1 and not let it continue to Panel 2 until Panel 1's validation is complete..??
This has to be a common problem?
Thank you very much!!
2 Panels
Each panel has a textbox, requiredfield validator and a button
On page load, panel 1 is visible, panel 2 is not visible.
Panel 1's textbox has required field validator
Clicking button on panel one makes Panel 1 not visible and Panel 2 visible
Here's the problem:
On NETSCAPE / OPERA / MOZILLA:
With Client Side validation turned OFF on the requiredfield validator, Panel 1 does not validate on button click, it simply shows panel 2. If I press panel 2's button, validation errors for Panel 1's textbox.
This is wacky?? If I'm doing all server-side validation, why doesn't the validation event fire on Panel 1's button click?
The page works as expected in IE, but that's only 75% of my user base.
How can I get ASP.NET to server-side validate the textbox of Panel 1 and not let it continue to Panel 2 until Panel 1's validation is complete..??
This has to be a common problem?
Thank you very much!!