title: How can I find span from code behind and add user control to it?
body: <p>I've a div</p>
  
  <pre><code>&lt;div id="PageContent" runat="server"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Now I'm adding HTML to it from code behind(c#) like this</p>
  
  <pre><code>PageContent.InnerHtml =mytext;
  </code></pre>
  
  <p>where <code>mytext</code> is the content I want to add in <code>PageContent</code> div, mytext contains a span in between some text(it can be any string), something like this</p>
  
  <pre><code>This is some &lt;span id="span1"&gt; &lt;/span&gt; text
  </code></pre>
  
  <p>How can I find span from code behind and add user control to it?</p>