Datahighway Posted September 26, 2003 Posted September 26, 2003 Hi ALL, How can i close my current webpage, by click a webform button? Can i use javascript in the codebehind file ? If yes, how can i do this ? Any ideas ? Regards Datahighway Quote
fadi Posted September 26, 2003 Posted September 26, 2003 Response.Write("<Script>") Response.Write("window.close();") Response.Write("</Script>") Quote
jacoblwilson Posted September 26, 2003 Posted September 26, 2003 You could also change the visibility of a panel that held script to close your pop on page load, and made the other controls on the page invisible. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.