you can open and close forms??is that what you mean?yfng said:In VB.NET, is there any function similar to window.open or window.close in Javascript which can open/close new windows?
Thanks.
yfng said:Yes, currently I use the button.attributes.add("onclick", "javascript:window.close()") to close web forms. But the effect is not good as expected. Is there any function to close/open web forms in VB.NET?
Thanks.
me.close()
Paszt said:yfng is most likely asking about webForms.
As far as I know, there is no function in the .NET framework that can open and close browser windows. The reason is browser security.