I want to apply hyperlink on foreign key column.
I am having a products foreign key column in my grid. During add/edit popup mode user can select the product from dropdown list. Once user adds the data I am displaying product name in my grid.
Now I want to display the product name as a link and clicking on it, user should navigate to product details page.
5 Answers, 1 is accepted
Basically in the client template only the value of the column is available and you should manually match the text for that value to show it in the hyper link. For convenience I created small example about how to achieve the desired behavior using custom code and attached it to the current thread.
the Telerik team
Your example worked like a charmed. This is what I needed and thanks for providing the same.
I need one simple hyperlink column which is simple coming from database....
How can achieve that? Here is my code and Grid attachment.
columns.Bound(Docs =>Docs.docid );
columns.Bound(Docs => Docs.filename);
columns.Bound(Docs => Docs.SvcUrl); //This column I wanted to make it hyperlink will open in new window.
Please check the example below of creating a link from the "SvcUrl" property:
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.