window.close in vb.net??

G

Garg

Hi,

If anybody could tell me what the equivalent of

window.close()

in vb.net??


Thanks,
Shivani
 
E

Eliyahu Goldin

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

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,276
Latest member
Sawatmakal

Latest Threads

Top