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

Recommended Answers

From my application:

// close the page if successful update
            RegisterStartupScript("load", "<script type=\"text/javascript\">\n" +
            "self.close();\n" +
            "<" + "/script>");
Jump to Post

All 2 Replies

From my application:

// close the page if successful update
            RegisterStartupScript("load", "<script type=\"text/javascript\">\n" +
            "self.close();\n" +
            "<" + "/script>");

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.