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 !




How to close an ASP.Net active web page


Posted Date: 18 Jul 2008      Total Responses: 1

Posted By: danielraj       Member Level: Bronze     Points: 1



hai,
I already asked this question.somebody (Bindu,Biji&Ravikumar) answerd me.but it couldn't clear.they told to write these below coding in javascript
window.close()
But it didn't take any action.Page didn't close.plz send me clear coding....





Responses

Author: Yuvaraj    19 Jul 2008Member Level: SilverRating:     Points: 1

Hi use this code in codebehind to close page
Response.Write("<script>window.close();</script>");



Post Reply
You must Sign In to post a response.
Next : trouble with viewstates and dynamic web user controls!
Previous : How to pass div id in gridview rowdatabound for javascript
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