How to create .aspx page in Runtime?
<p>I need to create .aspx page at runtime:</p>

<p>Say for Ex: </p>

<p>I have a configuration xml file, it has 2 main nodes and each has its subnodes as below:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;Root&gt;
&lt;Options name="First"&gt;
    &lt;controls&gt;
        &lt;control type="textbox" lable="Option1TextBox" value=""&gt;            
    &lt;/controls&gt;
&lt;/Options&gt;

&lt;Options name="Second"&gt;
    &lt;controls&gt;
        &lt;control type="textbox" lable="Option2TextBox" value=""&gt;
        &lt;control type="dropdown" lable="Option2dropdown" value="Value1, Value2"&gt;            
    &lt;/controls&gt;
&lt;/Options&gt;
</code></pre>

<p></p>

<ol>
<li>When i load the .aspx page, i have to read the xml file  node and i take the "name" attribute and create the dropdownlist control in the page.</li>
<li>From the dropdownlist, if the user selects the "First" i need to loop through the subnode  and create the controls at runtime in the same aspx page. EX: If the user selects "First" from the drop down, i need to create a Texbox in the page. and If the user selects "Second" from the drop down, i need to create a Textbox and dropdown list as given in the xml.</li>
</ol>

<p>Any suggestion/guide will be highly appreciated.</p>
