on 07-04-2007 12:02 PM
Hi,
I've two LinkToAction, If I push one, the other links disappear.
What can i do to show two links and when I'll push in one, the other link doesn't disappear?.
Thanks.
Can you post your code for the on click event of the link to action? This should not happen normally.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My guess is, you have bound the "visible" property of the table and calendar to two different context variables. On click on first link, you set variable 1 as true. Click on second link makes variable 2 as true. So the visibility is enabled and disabled.
Just check that the visible property of the link 2 is not bound to the same variable 2. It should be "Visible" only, not bound to a context attribute. Then it will be always visible.
Regards,
Nithya
Hi,
Yes, I bound the visible property of table and calendar with a context attribute, because I want to push link 1 show the calendar and hid the table and when I push the link 2, show the table and hide the calendar, but when i push a link (1 o 2), the other link disappear. If I push the link 1, the calendar show and the link 2 disappear, but I don't want that the link 2 disappear.
What is the visible property of your link 2 bound to? Is it bound to the context attribute that the calendar is bound to? Then it is wrong. I think you have put the link and calendar in a container (group etc) and you are setting the visible property at the container level itself. Then also it will not work.
The visible property for only the calendar and table should be bound to the context attribute. For the links, it should always be 'Visible'. Not bound to any attribute. Check this and it will work.
Regards
Nithya
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.