title: How can i make the "link_click" work without affecting the required field validators?
body: <p>To elaborate my question, I have  shopping cart website. Also I have textboxes like username, address, contact etc. All of those has the required field validator. However I also do have the "view profile" and "log out" link button on the page. When I try to clike those links, its not letting me because the required fields are not filled up. Is there any trick I can do with this? Thank you for any answers :)</p>
  
  <p>Here is my code.</p>
  
  <pre><code>&lt;asp:TextBox ID="txtCustomerName" runat="server" Width="231px"&gt;&lt;/asp:TextBox&gt;
  &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
      ErrorMessage="Customer Name is Required." ForeColor="Red" ControlToValidate="txtCustomerName"
      &gt;&lt;/asp:RequiredFieldValidator&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td align="left"&gt;
          Phone No:
      &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;
          &lt;asp:TextBox ID="txtCustomerPhoneNo" runat="server" Width="231px" 
              MaxLength="11"&gt;&lt;/asp:TextBox&gt;
          &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
              ErrorMessage="Phone Number is required." ForeColor="Red" ControlToValidate="txtCustomerPhoneNo"
              &gt;&lt;/asp:RequiredFieldValidator&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td align="left"&gt;
          EmailID:
      &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;
          &lt;asp:TextBox ID="txtCustomerEmailID" runat="server" Width="231px"&gt;&lt;/asp:TextBox&gt;
          &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
              ErrorMessage=" Email Address is Required." ForeColor="Red" ControlToValidate="txtCustomerEmailID"
              &gt;&lt;/asp:RequiredFieldValidator&gt;
      &lt;/td&gt;
  </code></pre>
  
  <p>and here is my link codes.</p>
  
  <pre><code> protected void link_ViewProfile_Click(object sender, EventArgs e)
      {
          Response.Redirect("viewprofile.aspx");
      }
  
      protected void link_Logout_Click(object sender, EventArgs e)
      {
          Session.Clear();
          Response.Redirect("Home.aspx");
      }
  </code></pre>