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

[Solved] How to display URI as text vs hyperlink conditioned each row on boolean val

1 Answer 90 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 10 Dec 2010, 07:23 AM
Is there a relatively simple approach in XAML for dynamically selecting display of a URI either as plain text or as a hyperlink for each row dependent on a separate boolean value for each row? Or should this be better handled in code-behind with a row-based event handler?

Is it a matter of conditionally selecting different templates? Or of conditionally selecting between a GridViewDataColumn and a GridViewHyperlinkColumn?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 10 Dec 2010, 06:05 PM
Hi Carl,

 
You may use CellTemplateSelector to achieve this purpose.

Best wishes,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
GridView
Asked by
Carl
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or