Hi,
I'm beginning to use RadGrid with a LinqDataSource. The binding of the grid works just fine. Now I want to insert a hyperlink-column into the grid which displays the name of a user and when it's clicked the user's profile page is displayed.
In my aspx file I added the column like this:
<telerik:GridHyperLinkColumn DataTextField="aspnet_User.UserName" HeaderText="User" DataNavigateUrlFields="http://google.de"
SortExpression="aspnet_User" UniqueName="aspnet_User">
</telerik:GridHyperLinkColumn>
Now, the problem is, that there is no text displayed in the grid. It seems that
the DataTextField property is not working (but it is working in a GridBoundColumn).
Another problem is, how to prepare the NavigateUrl property to use the userId.
Edit: I tried to add the GridHyperLinkColumn Programmatically via the RadGrid_ItemDataBound() evend handler but it seems that the handler never
gets called.
Thanks in advance for any hints.
Best regards,
Robert