G Garg Feb 19, 2007 #1 Hi, If anybody could tell me what the equivalent of window.close() in vb.net?? Thanks, Shivani
E Eliyahu Goldin Feb 19, 2007 #2 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....o/HowToPassMessagesBetweenServerAndClient.htm -- Eliyahu Goldin, Software Developer & Consultant Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.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....o/HowToPassMessagesBetweenServerAndClient.htm -- Eliyahu Goldin, Software Developer & Consultant Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
M Mark Rae Feb 19, 2007 #3 If anybody could tell me what the equivalent of window.close() in vb.net?? Click to expand... 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...
If anybody could tell me what the equivalent of window.close() in vb.net?? Click to expand... 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...