title: Access dynamically generated control from code behind
body: <p>I load a piece of html which contains something like:</p>
  
  <pre><code> &lt;em&gt; &lt; input type="text" value="Untitled" name="ViewTitle" id="ViewTitle" runat="server"&gt; &lt;/em&gt;
  </code></pre>
  
  <p>into my control. The html is user defined, do please do not ask me to add them statically on the aspx page.</p>
  
  <p>On my page, I have a placeholder and I can use </p>
  
  <pre><code>LiteralControl target = new LiteralControl ();
  
  // html string contains user-defined controls
  target.text = htmlstring
  </code></pre>
  
  <p>to render it property. My problem is, since its a html piece, even if i know the input box's id, i cannot access it using <code>FindControl("ViewTitle")</code> (it will just return null) because its rendered as a text into a Literal control and all the input controls were not added to the container's control collections. I definitely can use <code>Request.Form["ViewTitle"]</code> to access its value, but how can I set its value?</p>