title: Accessing html controls within an #include html file, from server side c#
body: <p>Following code is an example, I just want to know if this can be done.</p>
  
  <p>I have an test.aspx file with this server side include tag;</p>
  
  <pre><code>&lt;!--#include file="listOfCountries.htm" --&gt;
  </code></pre>
  
  <p>Within listOfCountries.htm, I have:</p>
  
  <pre><code>&lt;html&gt;
  &lt;div&gt;
  &lt;select id="countryList" runat="server"&gt;
  &lt;option&gt;&lt;/option&gt;
  ...
  &lt;/select&gt;
  &lt;/div&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Now, Is there a way to access "countryList" in test.aspx.cs file ?</p>
  
  <p>On another note, say I didn't have the #include "Countries.htm" in test.aspx, is it possible to access the controls within Countries.htm from test.aspx.cs ? (i.e. accessing an external html file controls in cs)</p>