Groups | Blog | Home
all groups > asp.net webcontrols > july 2003 >

asp.net webcontrols : Closing Webforms - kalai


kalaiselvan
7/29/2003 11:27:07 AM
hi,
I have an update button in a webform. When i click the button i want the
content to be updated and at the same time the form should get closed. How
come i can do that in code behind file using VB.NET...
Thx,
kalai

Alvin Bruney
7/29/2003 8:41:24 PM
Response.write("<script>window.close()</script>") except thru using the HTA
there is no way to disable the close prompt the user will get unless you
opened the page thru script.

[quoted text, click to view]

AddThis Social Bookmark Button