CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Change Link to Label

Print topic Send  topic

Author Message
Matt Lemon
Posted: 09/14/2005, 1:16 AM

Hi,

Is there anyway to change a link to a label on the fly according to the security group of the user ?

Cheers,

Matt
mrachow


Posts: 509
Posted: 09/14/2005, 1:37 AM

One way should be to place the label and the link both on the page.
Then setting the label to an empty string and show the link or setting label to desired value and make/set link to invisible (e.g. property visible to false) depending on GroupID.

_________________
Best regards,
Michael
View profile  Send private message
DonB
Posted: 09/14/2005, 6:00 AM

You might experiment with setting the href property to an empty string. I
seem to recall that links will essentially behave like Labels (i.e., without
an href the 'clickability' stops working) and you just see the link Value
property displayed in the browser.

--
DonB

http://www.gotodon.com/ccbth


<MattLemon@forum.codecharge (Matt Lemon)> wrote in message
news:64327dc7b4f45a@news.codecharge.com...
> Hi,
>
> Is there anyway to change a link to a label on the fly according to the
> security group of the user ?
>
> Cheers,
>
> Matt
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

Matt Lemon
Posted: 09/14/2005, 6:53 AM

Quote DonB:
You might experiment with setting the href property to an empty string. I
seem to recall that links will essentially behave like Labels (i.e., without
an href the 'clickability' stops working) and you just see the link Value
property displayed in the browser.

Thanks, setting the link.page="" still makes is a link but only to the same page just like a #. So that's great.


Cheers.


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.