Invisible HyperLink

  • Thread starter Thread starter acko bogicevic
  • Start date Start date
A

acko bogicevic

Hi
On my aspx page i have hyperlink:
<A id="lnkEndUser"
onclick="window.open('AddHelpLink.aspx','cal','width=250,height=300,left
=270,top=180')
href="javascript:;"><IMG src="Slike\usr.gif" border="0"></A>

When the page is load fist time i want this link to be invisible.
But when i click on btnUpdate i would like this link to be visible.
How can i do this?
Thanks.
 
If it's server side code you fire just use the Visible property of the
hyperlink, which will either show or not show the image. However, server
side invible means it's completely not there not just invible - it doesn't
get rendered.

If you need to do this with client side code you can use ID tags to show and
hide the control depending on your actions using
control.style.display='none'; or control.style.display='';

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
 
Back
Top