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
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

Bhaskar Kiran

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>');

Ali Irfan

All times are GMT -4. The time now is 10:42 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.