Reputation: 17
I have Required field validators on some of my textboxes on some pages but when the user clicks on that page and then tries to click on a different page it wont let the user leave the page until the textboxes have been filled
How do i overcome this?
Upvotes: 1
Views: 301
Reputation: 62290
tries to click on a different page it wont let the user leave the page
I assume clicking on a different page
requires the page to post back to server again.
If so, set the control's CausesValidation="False".
For example,
<asp:Button ID="Button1" runat="server" CausesValidation="False"/>
Upvotes: 2