ASP.NET - want to retrive the value from popup window to parent window

Asked By Praveen Mathi on 17-Mar-14 09:18 AM
hi am having this coding parent window

<a href="#" onclick="Popup=window.open('TAXLOV.aspx?ITTNO=<%#Eval("ITTNO")%>&SUPNO=<%#Eval("SUPID")%>&MATCD=<%#Eval("MATID")%>&STRCODE=<%#Eval("TAXSTRUCTURE")%>&LUMPSUM=<%#Eval("BPRLS")%> ','Popup','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=800,height=500,left=20,top=20'); return false;"
                                                                        onmouseout="window.status=' ';return true;" onmouseover="window.status='View Item Details';return true;"> View Tax Details</a>



having this in pop-up window

<asp:Button ID="btnupdatesubmit" runat="server" CssClass="button"
                        onclick="btnupdatesubmit_Click" Text="UPDATE" OnClientClick="frmComparativeStatement.aspx.reload(true)" />


if i click the "View Tax Details"(parent window) link button i ll get pop-up window. in the pop-up window i did some calculations after the calculation i assign the value in a label (wen i click the update button). now i want to pass the label value into parent window while close the pop-up
Robbe Morris replied to Praveen Mathi on 17-Mar-14 10:29 AM
window.opener will get you a reference to the parent "window" object that opened the pop up window.
Praveen Mathi replied to Robbe Morris on 18-Mar-14 08:19 AM
i want to pass that label value into parent page please do the needful thanks& regards Praveen.M