954,580 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to close window

Hi,

is there some way to close the window after clicking the button on webpage? I found some examples in VB.net, but I want to make it using C#...

S

Stivi
Light Poster
26 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

From my application:

// close the page if successful update
            RegisterStartupScript("load", "<script type=\"text/javascript\">\n" +
            "self.close();\n" +
            "<" + "/script>");
nikkiH
Junior Poster in Training
79 posts since Dec 2006
Reputation Points: 13
Solved Threads: 4
 

plz send start and close the window program to my mail <>

Md.Akbar pasha
Newbie Poster
1 post since Dec 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You