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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.