We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hyperlink in Column

Thread ID:





123272 Mar 2,2016 02:25 PM UTC Mar 3,2016 09:34 AM UTC ASP.NET Web Forms 2
Tags: Grid
Michael Ziegler
Asked On March 2, 2016 02:25 PM UTC


I'm using the asp.net grid control. I want a hyperlink in one column, the URL comes from a field in the database. I don't find any solution on how to link the column to the database filed.

Some fields as an example:

<ej:Column Field="NR" HeaderText="Number" IsPrimaryKey="true" Width="100" />   
<ej:Column Field="URL" HeaderText="Online-Info" Width="100" Template="<a rel='nofollow' href='{{:URL}}'>Link</a>" />

Please provide some feedback on how to link the url to the column in the .aspx file.

Thank you very much!

Michael Ziegler
Replied On March 2, 2016 02:36 PM UTC

Nevermind, I've found the error. The field name is case sensitive, so in my case it's working with this:

<ej:Column Field="Url" HeaderText="Online-Info" Width="100" Template="<a rel='nofollow' href='{{:Url}}'>Link</a>" />

Thank you,

Venkatesh Ayothi Raman [Syncfusion]
Replied On March 3, 2016 09:34 AM UTC

Hi Michael,

Thanks for using Syncfusion products.

We have happy to hear that your requirement is achieved.

Venkatesh Ayothiraman.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon