C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




server side closing the window


Posted Date: 19 Jul 2008      Total Responses: 2

Posted By: Nithya       Member Level: Gold     Points: 1



i want to close my application window when i click the close button,
the should be in server side.....
my application is visual studio 2005 using c#

plz help

nithya





Responses

Author: UltimateRengan    19 Jul 2008Member Level: DiamondRating:     Points: 1

hi,
http://www.velocityreviews.com/forums/t65388-close-window-from-server-side.html
http://www.velocityreviews.com/forums/t88665-closing-browser-window-from-server-side-in-aspnet.html

UltimateRengan
nathan.rengan@gmail.com
Trichy-Rider Group



Author: Bindu Bujji    19 Jul 2008Member Level: GoldRating:     Points: 4

Hi,
Write the below code in button-clik event.....
i don't think u can close the window from serverside. what you can do it u can call the client side functionality in Serverside.

for example:

button_click
Response.write("<script>window.close();</script>");

Remember javascript is casesensitive.

Hope this answers your question

Bindu



Post Reply
You must Sign In to post a response.
Next : stored procedure help meee.......
Previous : crystal report in asp.net 2005 using C#
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use