Welcome Guest Search | Active Topics | Sign In | Register

Grid Options
sam777
Posted: Wednesday, July 6, 2016 11:11:30 AM
Rank: Newbie
Groups: Member

Joined: 8/3/2013
Posts: 4
Hello support,
In ASP GridView I often use hyperlink field.
<asp:HyperLinkField DataNavigateUrlFields="tovURL" HeaderText="URL" Text="URL" />

How can I make it in your Grid? I have read documentation and could not find answer.
Best regards,
Ruslan.
eo_support
Posted: Thursday, July 7, 2016 11:09:49 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,200
Hi,

You can use a StaticColumn and then set it's DataFormat to something like this:

Code: HTML/ASPX
<a href="{0}">Link</a>


This way the cell data will replace "{0}" and the cell will display a link.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.