{"id":2089,"date":"2012-08-14T17:21:25","date_gmt":"2012-08-14T21:21:25","guid":{"rendered":"http:\/\/www.iowawebnet.com\/ein\/?p=2089"},"modified":"2012-08-23T16:36:29","modified_gmt":"2012-08-23T20:36:29","slug":"close-thickbox-popup-refresh-parent-page","status":"publish","type":"post","link":"https:\/\/www.iowawebnet.com\/ein\/2012\/08\/close-thickbox-popup-refresh-parent-page\/","title":{"rendered":"Close thickbox (popup) refresh parent page"},"content":{"rendered":"<pre>\r\nTest.aspx\r\n<code>\r\n&lt;html xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\r\n&lt;head runat=\"server\">\r\n&lt;\/head>\r\n&lt;body>\r\n    &lt;form id=\"form1\" runat=\"server\">\r\n       &lt; %= Me.UpdMsg %>\r\n    &lt;\/form>\r\n&lt;\/body>\r\n&lt;\/html>\r\n<\/code>\r\n<\/pre>\n<pre>\r\nTest.aspx.vb\r\n<code>\r\nProtected UpdMsg As String\r\nProtected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)Handles \r\n                                                                            Me.Load\r\n   If Page.IsPostBack Then\r\n      UpdMsg = \"&lt;a href='#' onClick='parent.location.reload(1)'>Close!&lt;\/a>\"\r\n    End If\r\nEnd Sub\r\n<\/code>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Test.aspx &lt;html xmlns=&#8221;http:\/\/www.w3.org\/1999\/xhtml&#8221;> &lt;head runat=&#8221;server&#8221;> &lt;\/head> &lt;body> &lt;form id=&#8221;form1&#8243; runat=&#8221;server&#8221;> &lt; %= Me.UpdMsg %> &lt;\/form> &lt;\/body> &lt;\/html> Test.aspx.vb Protected UpdMsg As String Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)Handles Me.Load If Page.IsPostBack Then UpdMsg = &#8220;&lt;a href=&#8217;#&#8217; onClick=&#8217;parent.location.reload(1)&#8217;>Close!&lt;\/a>&#8221; End If End Sub<\/p>\n","protected":false},"author":35,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85,17,16,43,84],"tags":[19,37,21],"class_list":["post-2089","post","type-post","status-publish","format-standard","hentry","category-net-4-0","category-applications","category-net","category-javascript-2","category-vs2010","tag-asp-net","tag-javascript","tag-visual-studio"],"_links":{"self":[{"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/posts\/2089"}],"collection":[{"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/comments?post=2089"}],"version-history":[{"count":11,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/posts\/2089\/revisions"}],"predecessor-version":[{"id":2120,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/posts\/2089\/revisions\/2120"}],"wp:attachment":[{"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/media?parent=2089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/categories?post=2089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/tags?post=2089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}