title: JavaScript functions prevent C# functions from being executed?
body: <p>On my aspx page I have two buttons.  One calls some javascript and the other calls a C# function on the code-page.  When I call the javascript file in the head of the document, the JavaScript function works well but the C# does not.  Clicking on the button does not do anything.  If I remove the javascript call then the C# function works normally.</p>
  
  <p>How can I overcome this?  It seems as if it is expecting to find the C# function within the JavaScript file.</p>
  
  <p>ASP:</p>
  
  <pre><code>&lt;head&gt;
  &lt;script src="MyFunctions.js" language="javascript" type="text/javascript"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;asp:Button id="btn1" Text="Submit" runat="server" OnClick="buttonSumbit_Click" /&gt;
  &lt;asp:Button id="btn2" Text="Show" runat="server" OnClientClick="buttonShow_Click()" /&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>C#:</p>
  
  <pre><code>protected void buttonSumbit_Click(object sender, EventArgs e)
  {
  //SOME CODE HERE
  }
  </code></pre>
  
  <p>JavaScript:</p>
  
  <pre><code>function buttonShow_Click()
  {
  //SOME CODE HERE
  }
  </code></pre>