Chris McGuigan
asked on
Can I close a browser in ASP.Net 2.0 without resorting to any javascript?
I'm using Visual Web Developer Express.
I'm a competent VB6, ADO, ADO.Net & SQL programmer with a healthy dose of HTML, CSS and XML, but finding VB.Net a bit slow to get into.
I'm developing a web app for a customer. I have a pop up window which I want to close if the user presses the cancel button.
I know I can do this using the html/javascript solution of onclick="window.close".
But, as I'm trying to avoid learning yet another language, I'm sure there must be a pure VB.Net way of doing this!
Regards
Chris
I'm a competent VB6, ADO, ADO.Net & SQL programmer with a healthy dose of HTML, CSS and XML, but finding VB.Net a bit slow to get into.
I'm developing a web app for a customer. I have a pop up window which I want to close if the user presses the cancel button.
I know I can do this using the html/javascript solution of onclick="window.close".
But, as I'm trying to avoid learning yet another language, I'm sure there must be a pure VB.Net way of doing this!
Regards
Chris
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Always a good thing to expand your skill set to get paid more :o)
ASKER
I have now come to that conclusion too.
I wasn't supposed to be doing any of the web coding anyway - but hey, I'm getting paid for it!
Cheers
Chris