ASP.NET Parsing raw HTML into Controls
<p>Is it possible in ASP.NET to take a string containing some HTML and make ASP.NET to parse it and create a Control for me? For example:</p>

<pre><code>string rawHTML = "&lt;table&gt;&lt;td&gt;&lt;td&gt;Cell&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;";
HTMLTable table = MagicClass.ParseTable(rawHTML);
</code></pre>

<p>I know that this is a bad thing to do but I am in the unfortunate situation that this is really the only way I can achieve what I need (as I cannot modify this particular coworker's code).</p>

<p>Also, I know that LiteralControl allows you to have a control with arbitrary HTML in it, but unfortunately I need to have them converted to proper control.</p>

<p>Unfortunately, HTMLTable does not support the InnerHTML property. I need to preserve the HTML tree exactly as it is, so I cannot put it into a <code>&lt;div&gt;</code> tag.</p>

<p>Thanks.</p>
