944,111 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 39406
  • ASP.NET RSS
Dec 14th, 2006
0

How to close window

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
Stivi is offline Offline
26 posts
since Jun 2005
Dec 28th, 2006
0

Re: How to close window

From my application:

ASP.NET Syntax (Toggle Plain Text)
  1.  
  2. // close the page if successful update
  3. RegisterStartupScript("load", "<script type=\"text/javascript\">\n" +
  4. "self.close();\n" +
  5. "<" + "/script>");
Last edited by nikkiH; Dec 28th, 2006 at 6:02 pm.
Reputation Points: 13
Solved Threads: 4
Junior Poster in Training
nikkiH is offline Offline
79 posts
since Dec 2006
Dec 20th, 2010
0
Re: How to close window
plz send start and close the window program to my mail <<Snippped>>
Last edited by adatapost; Dec 20th, 2010 at 3:36 am. Reason: Email Snipped.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Md.Akbar pasha is offline Offline
1 posts
since Dec 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.
Previous Thread in ASP.NET Forum Timeline: Search Button Code?
Next Thread in ASP.NET Forum Timeline: auto complete extender is not working in Web user Control





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC