title: changing HTML tag properties using inline server tags
body: <p>I have the following submit button:</p>
  
  <pre><code>&lt;form id="form1" runat="server"&gt;
  &lt;input type="submit" id="submit" value="Submit" runat="server"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>How do I change e.g. the background colour of the button itself by using inline server tags after the button has been clicked?</p>
  
  <p>I've tried using the attribute style="" in the submit buttons declaration with inline server tags &lt;%%>, but I just get a Parser error message saying "Server tags cannot contain &lt;% ... %> constructs."</p>
  
  <p>Expected code to be used to verify button click:</p>
  
  <pre><code>&lt;%
    if (Request["submit"] != null) 
    {
     // CODE HERE  
    }
  %&gt;
  </code></pre>