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

  • Thread starter Thread starter Srik
  • Start date Start date
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!
 
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.
 
For opening it is fine and will work but what about the
closing of window. How do i do it?

Srik
 
Back
Top