wilfordrocks
asked on
How to determine if asp.net validate control has reported an error?
I have a basic ASP.NET C# web application. Each control is paired with a validator control and the errors are displayed to the user via "validation summary" control. The Web page has a next button to go to another aspx page. How do I check in the code behind the Next button if errors exist and not go to the next page?
MSDN shows the ValidatorSummary has a "HasErrors" property. However, this is not a valid property.
on NEXT button
if no errors go to next page
otherwise redisplay the current page.
thanks
MSDN shows the ValidatorSummary has a "HasErrors" property. However, this is not a valid property.
on NEXT button
if no errors go to next page
otherwise redisplay the current page.
thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.