C Curt_C [MVP] Sep 1, 2004 #2 clientside code windows.close() Mind you they will get a warning/notice. You can't do any window manipulation with SERVER side code like asp/asp.net
clientside code windows.close() Mind you they will get a warning/notice. You can't do any window manipulation with SERVER side code like asp/asp.net
H Hermit Dave Sep 1, 2004 #3 javascript code window.close(); that should do the job -- Regards, Hermit Dave (http://hdave.blogspot.com)
javascript code window.close(); that should do the job -- Regards, Hermit Dave (http://hdave.blogspot.com)
S - Steve - Sep 1, 2004 #4 You can't do any window manipulation with SERVER side code like asp/asp.net Click to expand... Duh, of course.
You can't do any window manipulation with SERVER side code like asp/asp.net Click to expand... Duh, of course.
K Kevin Spencer Sep 1, 2004 #5 You can avoid the warning: window.opener = self; window.close(); -- HTH, Kevin Spencer ..Net Developer Microsoft MVP Big things are made up of lots of little things.
You can avoid the warning: window.opener = self; window.close(); -- HTH, Kevin Spencer ..Net Developer Microsoft MVP Big things are made up of lots of little things.
S - Steve - Sep 1, 2004 #6 Shouldn't this work, causing the browser to close once it progress.Percentage reaches 100. Page_Load { UpdateProgress(); } UpdateProgress() { if(progress.Percentage < 100) Page.Response.Write("Meta HTTP-EQUIV=Refresh CONTENT=3>"); else Page.RegisterStartupScript("OnLoad", "<script language=javascript>" + "windows.close()" + "</script>"); }
Shouldn't this work, causing the browser to close once it progress.Percentage reaches 100. Page_Load { UpdateProgress(); } UpdateProgress() { if(progress.Percentage < 100) Page.Response.Write("Meta HTTP-EQUIV=Refresh CONTENT=3>"); else Page.RegisterStartupScript("OnLoad", "<script language=javascript>" + "windows.close()" + "</script>"); }