I have a website that has a form that allows a user to select a profile from a list. One of the options is for the user to copy the profile. I want to open a popup window to prompt for the new profile name and then return to the original window to do the copy. Here is what I have so far: (I am using vb.net)
<asp:Button ID="CopyProfileBtn" runat="server" Text="Copy Profile" />
In the PageLoad function:
'Set Popup Window on CopyProfile Button
"window.open('page2.aspx', '', 'height=300,width=400');return false")
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
How do I get the value in TextBox1 returned to page1.aspx when page2.aspx is closed?
How do I close page2.aspx?