Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Invisible HyperLink

Reply
Thread Tools

Invisible HyperLink

 
 
acko bogicevic
Guest
Posts: n/a
 
      01-18-2004
Hi
On my aspx page i have hyperlink:
<A id="lnkEndUser"
onclick="window.open('AddHelpLink.aspx','cal','wid th=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.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
 
Rick Strahl [MVP]
Guest
Posts: n/a
 
      01-19-2004

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/
----------------------------------
Making waves on the Web


"acko bogicevic" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi
> On my aspx page i have hyperlink:
> <A id="lnkEndUser"
> onclick="window.open('AddHelpLink.aspx','cal','wid th=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.
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



 
Reply With Quote
 
 
 
 
acko bogicevic
Guest
Posts: n/a
 
      01-19-2004

thanks
acko

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Making 1 control invisible while showing another in the exact location of the invisible one Andy B ASP .Net 5 05-29-2008 03:08 AM
Invisible - Succinic acid : (AMBER ACID) Invisible krithika.143@gmail.com C++ 0 04-14-2008 06:59 PM
How to add a hyperlink column to asp.net datagrid - where only one value is a hyperlink davetichenor ASP .Net 1 10-30-2006 02:57 PM
Make hyperlink invisible? Benton Javascript 3 04-01-2006 10:17 PM
Dynamically Hyperlink and Event Handler for the Hyperlink ? Ken ASP .Net Datagrid Control 1 08-15-2003 11:38 PM



Advertisments