on 08-16-2007 12:50 PM
Hi all,
I am making a column in the table as hyperlink(which onselect will open some documents related).
If there is no documents available for a row in the table, column of that row should not be appeared as hyperlink.
Urgent.....
Regards,
Rajesh
Hi Rajesh
A simple solution is, you bind the LinkToUrl Text property to an attribute in your datasource node.
and Loop the rows in your table, if there is no document link just set that text to empty string and just set text to some value if there is a document link.
At runtime there will be a link which is not visible to the user, because there is no text.
Regards
Abhimanyu L
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could add a calculated attribute (under the table's data source node) that returns true if there are documents for that row (node element). Bind the "enabled" property of the link to this attribute.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As far as your requirement is concerned,
Check whether the resource (File) is null or not, if it is null, then generate the column in a table dynamically with TextView UI element in the wddomodifyview(), if the condition fails then create an UI with LinkToACtion or any other UI.
Can you be more specific on your requirement(like how do u check the file is present in that location or not)... if the above solution doesn't suit your query
Regards,
TFG - Kumara Guru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.