passing query string value from asp.net page to iframe
<p>I have an asp.net page with a textbox and a button. on button click, I open a popup and load a page in it using iframe. I want to pass value of textbox as query string to page in iframe. How can I do this?</p>

<p>I tried using server side iframe like this:</p>

<pre><code>&lt;iframe id="popupframe" runat="server" src="~/temp.aspx" width="100%" height="455"&gt;
            &lt;/iframe&gt;     
</code></pre>

<p>but temp.aspx doesnt load and gives 404. If I use it without server side tag</p>

<pre><code>&lt;iframe id="popupframe"  src="../../../../temp.aspx" width="100%" height="455"&gt;
            &lt;/iframe&gt;     
</code></pre>

<p>Page loads in iframe but I can't pass valuue of textbox to temp.aspx. Please suggest solution. thanks</p>
