How to refresh parent page from popup in asp.nethttp://forums.asp.net/t/1803301.aspx/1?How+to+refresh+parent+page+from+popup+in+asp+netMon, 14 May 2012 05:47:59 -040018033014978893http://forums.asp.net/p/1803301/4978893.aspx/1?How+to+refresh+parent+page+from+popup+in+asp+netHow to refresh parent page from popup in asp.net <p>In parent page i have drop downlist and gridview that bind on pageload . i am using java script for popup in popup page i genreate some code number from data base. i wnat to when close that popup that code bind to dropdownlistlist also in gridview</p> 2012-05-14T05:13:46-04:004978899http://forums.asp.net/p/1803301/4978899.aspx/1?Re+How+to+refresh+parent+page+from+popup+in+asp+netRe: How to refresh parent page from popup in asp.net <p>On popup page, try this script:</p> <pre class="prettyprint">window.onunload = function () { window.opener.location.href = window.opener.location; }</pre> <p>Thanks<br> <br> </p> 2012-05-14T05:17:03-04:004978904http://forums.asp.net/p/1803301/4978904.aspx/1?Re+How+to+refresh+parent+page+from+popup+in+asp+netRe: How to refresh parent page from popup in asp.net <p>put a button in parent's update panel with style=&quot;display:none&quot; and when closing the child window call parent's button click() method &nbsp;to refresh the update panel.</p> <pre class="prettyprint">window.opener.document.getElementByID('&lt;%=B.ClientID%&gt;').click();</pre> <p>hope help you to start atlest<br> <br> </p> 2012-05-14T05:19:13-04:004978961http://forums.asp.net/p/1803301/4978961.aspx/1?Re+How+to+refresh+parent+page+from+popup+in+asp+netRe: How to refresh parent page from popup in asp.net <p>Hi,</p> <p>Like in the post below you can access a JavaScript function of the parent page from the child page-</p> <p><a href="http://forums.asp.net/p/1656559/4317158.aspx/1?Re&#43;show&#43;progress&#43;in&#43;dialog">http://forums.asp.net/p/1656559/4317158.aspx/1?Re&#43;show&#43;progress&#43;in&#43;dialog</a></p> <p>Now inside the parent page function you can call __doPostBack. Check the following posts for __doPostBack reference-</p> <p><a href="http://delicious.com/anupdg/__dopostback">http://delicious.com/anupdg/__dopostback</a></p> 2012-05-14T05:47:59-04:00