Home > DeveloperSection > Forums > Close popup window by Server side code
Mark Toy
Mark Toy

Total Post:7

Points:49
Posted on    January-06-2011 4:00 AM

 ASP.Net ASP.Net 
Ratings:


 1 Reply(s)
 4787  View(s)
Rate this:
I am working on a web application where I have to do some calculation on popup window.
Please help me with sample code or with useful link.
I am using ASP.NET 3.5

Thx


Uttam Misra

Total Post:125

Points:897
Posted on    January-06-2011 4:16 AM

After your calculation, try below lines of code...

Response.Write("<script>window.close();</" + "script>");

Response.End();



Don't want to miss updates? Please click the below button!

Follow MindStick