sp.Net 2.0 / VS 2005 project:
I have a page that contains 3 RangeValidator controls and 2 RequiredFieldValidator controls.
I've been asked to add a "Logout" button that simply redirects the browser to a different page.
In the click event of the button, I set all 5 of the control's Enabled and Visiable properties to False, then a Response.Redirect() call, but it wont redirect the page because of the validation controls.
How do I solve this?
I have a page that contains 3 RangeValidator controls and 2 RequiredFieldValidator controls.
I've been asked to add a "Logout" button that simply redirects the browser to a different page.
In the click event of the button, I set all 5 of the control's Enabled and Visiable properties to False, then a Response.Redirect() call, but it wont redirect the page because of the validation controls.
How do I solve this?