Menutup IExplore Windows dari asp.net dengan c# Januari 21, 2010
Posted by layyuddi in ASP.NET.Tags: close, close IExplore, Menutup IExplore, Menutup Internet Explore
trackback
Sisipkan saja coding berikut untuk menutup IExplore Windows anda secara automatic :
RegisterStartupScript(“load”, “<script type=\”text/javascript\”>\n” + “self.close();\n” + “<” + “/script>”);
bisa juga dengan cara ini :
Response.Write(“<script type=’text/javascript’>”);
Response.Write(“window.opener=null;window.open(”,’_top’);window.top.close();;</”);
Response.Write(“script>”);
Like this:
Be the first to like this post.
Komentar»
No comments yet — be the first.