p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Professional (http://p2p.wrox.com/forumdisplay.php?f=215)
-   -   Master pages (http://p2p.wrox.com/showthread.php?t=59406)

wunnavabk June 25th, 2007 06:43 AM

Master pages
 
Hi
Can any one tell me how to close the browser window when we are using master pages.

i have a link button (Signout) when i click on that button i want to close the browser window. the link button is present in master page.

Please reply ASAP if u find the solution

Regards
Bhaskar Kiran
Mail:wunnavabk@gmail.com

aliirfan84 June 25th, 2007 07:09 AM

U just need to write following code against link button event.

Response.Write('<script language = 'javascript'>window.close()</script>');

Regards
Ali Irfan
aliirfan84@gmail.com



All times are GMT -4. The time now is 05:34 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.