title: Button click event triggered by enter key ... why?
body: <p>this is my Page_Load </p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
      {
          string Error = "";
  
          //Any attempt to login from another page met with an error is bounced here.  We then display the error message.  We do this because many other pages have a css dropdown with limited options and no warning label.
          if (!IsPostBack)
          {
              try { Error = Session["LoginError"].ToString(); }
              catch { }
              Session["LoginError"] = "";
  
  
              //  if (Error.Length &gt; 0) { WarningLbl.Text = Error; }
              LoadPageText();
  
          }
          else
          {
  
              Enroll();
  
  
          }
      }
  </code></pre>
  
  <p>on PostBack, when I press enter ... Enroll(); executes, but it also executes the following button_event </p>
  
  <p>this is the ASP</p>
  
  <pre><code>&lt;td style="width: 75px; text-align: center; vertical-align: top;"&gt;
                                                      &lt;asp:Button ID="FrenchBtn" runat="server" BackColor="Transparent" BorderStyle="None" CssClass="clickable" Font-Bold="True" Font-Names="Arial" Font-Size="X-Small" ForeColor="White" OnClick="FrenchBtn_Click" onmouseout="this.style.color = 'white';" onmouseover="this.style.color = 'yellow';" Text="Button" /&gt;
                                                  &lt;/td&gt;
  </code></pre>
  
  <p>here is the CSS:</p>
  
  <pre><code>.clickable {
              z-index: 0;
              cursor: pointer;
          }
  
  protected void FrenchBtn_Click(object sender, EventArgs e)
      {
          SessionVars.Current.varLanguage = "French";
          Response.Redirect("~/Account/Enroll.aspx");
      }
  </code></pre>
  
  <p>Note: I have not pressed the button to execute this; however, this is the first "clickable" event on the screen. Why is this executing? is there some attribute or property or sequence that is causing this to execute? </p>