back to the parent page without changes in that page
<pre><code>&lt;asp:HyperLink id="hypavmat" runat="server" NavigateUrl="~/Merchandiser/MAddMaterial.aspx"
    Target="_blank" Visible="False"&gt;Click the link to select material&lt;/asp:HyperLink&gt;&lt;/td&gt;
</code></pre>

<p>i have this hyperlink in my parent page. by clicking it i send values using sessions to the pop up page.i use the hyperlink target to the _blank page. In pop up page i generate a itemId and view it using label. </p>

<pre><code>&lt;asp:Label id="lblMatNo" runat="server" BackColor="Silver"&gt;&lt;/asp:Label&gt;&lt;/td&gt;

&lt;asp:Button id="btnAdd" runat="server" OnClick="btnAdd_Click" Text="Add Material" /&gt;
</code></pre>

<p>if i click the btnadd button i want to send lblMatNo text value to the parent page &amp; set the value to 
<code>&lt;asp:TextBox id="txtMatId" runat="server"  &gt;&lt;/asp:TextBox&gt;&lt;/td&gt;</code> text field. </p>

<p>currently i have selected values in my dropdownlists. i need to get the item id to the same parent page that having dropdownlist values without change. </p>

<p>i need to close the pop up window when i click the btnAdd button. </p>

<p>can i do this. or if its wrong how can i do this kind of thing. </p>
