By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,666 Members | 1,373 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,666 IT Pros & Developers. It's quick & easy.

closing webform

P: n/a
How can I close a webform from withing C# (not HTML)?

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
VM,

To do this, you will have to inject script code from the server side to
have the browser window close. The code on the server runs on the server,
returning a response when a request is made. Because of this, you have to
issue commands to the browser in the request that it can understand, like
javascript.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com

<VM> wrote in message news:OR****************@TK2MSFTNGP10.phx.gbl...
How can I close a webform from withing C# (not HTML)?

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.