window.close in vb.net??  
Author Message
Avalon46





PostPosted: Mon Feb 19 03:48:28 CST 2007 Top

ASP.Net >> window.close in vb.net?? Hi,

If anybody could tell me what the equivalent of

window.close()

in vb.net??


Thanks,
Shivani

Web Programming52  
 
 
Eliyahu





PostPosted: Mon Feb 19 03:48:28 CST 2007 Top

ASP.Net >> window.close in vb.net?? Vb.net is a server-side technology. window.close() runs on the client. The
direct answer to your question would be:

keep calling window.close() on the client side, there is no equivalent in
vb.net.

If your next question is how the server side vb.net program can get the
client-side call window.close(), look at this article:

http://usableasp.net/DeveloperPage.aspx?page=Articles/HowTo/HowToPassMessagesBetweenServerAndClient.htm

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"Garg" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> Hi,
>
> If anybody could tell me what the equivalent of
>
> window.close()
>
> in vb.net??
>
>
> Thanks,
> Shivani
>


 
 
Mark





PostPosted: Mon Feb 19 04:49:42 CST 2007 Top

ASP.Net >> window.close in vb.net?? "Garg" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...

> If anybody could tell me what the equivalent of
>
> window.close()
>
> in vb.net??

There is no equivalent - VB.NET (and C# etc) runs server-side, so has no
native ability whatever to open and close windows etc...

However, server-side code can stream client-side JavaScript which can do
this...