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

Hyperlink Columns

1 Answer 59 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 28 Mar 2011, 03:30 PM
The Hyperlink column is kind of a pain in the ass if we can't set an Eval() statement on NavigateUrl directly in the markup...

Will this ever be fixed?  We can do it with a TemplateColumns controls fine...doesn't make it easy to use if you always have to use ItemDataBound everytime we need a simple nav column

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 31 Mar 2011, 09:59 AM
Hello Steve,

The TreeList columns are not binding containers (the TreeList rows are) and that is the reason you cannot use Eval/Bind expressions for column properties. For the template columns you can inject binding expressions as part of their header, item, etc. templates. Let me know if I am missing something here.

For the HyperLink TreeList column in particular, you may consider using its DataTextField to specify column in the source from which the text values will be populated.

Regards,
Sebastian
the Telerik team
Tags
TreeList
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Sebastian
Telerik team
Share this question
or