This is a migrated thread and some comments may be shown as answers.

Radgrid - Hyperlink Column

2 Answers 573 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Julie
Top achievements
Rank 1
Julie asked on 20 Jan 2015, 06:59 PM
Hi,

I am transitioning an application from Infragistics to Radgrid.  I have a pretty simple grid.  I need to make one of the columns into a hyperlink.  I can't quite figure it out.  For the UltraWebGrid I used this (using VB.net):

UltraWebGrid3.Columns(0).Type = ColumnType.HyperLink

What would the correct syntax be for RadGrid?  I thought it would be something like this:

RadGrid3.MasterTableView.GetColumn("Request ID").ColumnType = gridhyperlink

But that doesn't work.

Thanks in advance for your help.

Julie

2 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 23 Jan 2015, 01:47 PM
Hello,

You can use GridHyperLinkColumn to achieve your goal.  Check out the following document where column types supported by RadGrid are presented.
http://www.telerik.com/help/aspnet-ajax/grid-column-types.html 

Note that you should set the DataNavigateUrlFields to the required datafield in the database, in order to specify the target of the hyperlink.

You can
The

Regards,
Pavlina
Telerik
 

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.

 
0
Julie
Top achievements
Rank 1
answered on 28 Jan 2015, 10:37 PM
Thank you!
Tags
Grid
Asked by
Julie
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Julie
Top achievements
Rank 1
Share this question
or