Skip to Content
avatar image
Former Member

How can Make hyper link record in to non hyper link record

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 16, 2007 at 11:28 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 16, 2007 at 01:41 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 17, 2007 at 05:04 AM

    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

    Add comment
    10|10000 characters needed characters exceeded