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 |
 |
 |
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.
|
|
|
 |
|