title: ASP.NET without runat="server"
body: <p>I have to create a simple website using asp.net web forms, but I'm required to not use any server controls i.e. <code>runat=&quot;server&quot;</code></p>
  <p>I have the following:</p>
  <p><strong>HTML</strong></p>
  <pre><code>&lt;form method=&quot;post&quot; action=&quot;&quot;&gt;
      &lt;label for=&quot;name&quot;&gt;Name&lt;/label&gt;
      &lt;input id=&quot;name&quot; name=&quot;name&quot; type=&quot;text&quot; /&gt;
      &lt;input value=&quot;Save&quot; type=&quot;submit&quot; /&gt;
  &lt;/form&gt;
  </code></pre>
  <p><strong>Code behind</strong></p>
  <pre><code>protected void myFunction()
  {
      // do something
  }
  </code></pre>
  <p>I'm currently putting <code>// do something</code> in the <code>protected void Page_Load(object sender, EventArgs e)</code> function, but I would like to call it when the save button is clicked. However I don't know how to do this without using <code>runat=&quot;server&quot;</code>. Is there a way of achieving this?</p>