How do I Open / Close a window in either using a link or button Server Controls.

S

Srik

I am working on a project where in we have a requirement
in which we need to open a new window on click of a link
and also I should display a link in the new opened window
after the data is displayed which upon clicking must close
the window.

How do I do it in ASP.net? I want to use Server Controls
for either links or buttons.

Thanks!
 
W

wh

Look at the 'target' property for the link. It allows you to specify what
window the link is to be opened in. I *think* you'll need to set it to
'new'.

Wayne.
 
G

Guest

For opening it is fine and will work but what about the
closing of window. How do i do it?

Srik
 

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
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top