This is a migrated thread and some comments may be shown as answers.

[Solved] Easy way to set hyperlinkcolumn navigateurl and displaytext?

1 Answer 47 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Carl
Top achievements
Rank 1
Carl asked on 04 Oct 2010, 09:34 PM
Is there a simple way to set the display text and the navigate url for a hyperlinkcolumn in the Silverlight GridView?

The DataMemberBinding property sets the same value for both the navigate url and the text displayed.

Is it possible to data bind the navigate url and separately data bind the display text for the navigate url?

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Milan
Telerik team
answered on 05 Oct 2010, 08:00 AM
Hi Carl,

Apart from the DataMemberbinding property, the HyperlinkColumn exposes another one called ContentBinding which allows you to specify what text gets displayed.


Best wishes,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Carl
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or