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.
Unfortunately, activation email could not send to your email. Please try again.

Hyperlink in Column

Thread ID:





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


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 09:36 AM

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 04:34 AM

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.

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.