Q:

Bypassing a requiredfieldvalidator

I have a webform which has validators on it that work well when the user presses the submit button. But when the user presses the logout button the validators stop that button from working.
Any suggestions as to how remedy this?

A:

You need to use the CausesValidation property on the button.
<asp:Button id="Button1" runat="server"
  Text="Cancel" CausesValidation="False">
</asp:Button>

