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. Image for the cookie policy date
close icon

hyperlink in grid

hello
i am using vb.net 2003.i want to add hyperlink values in a second column of grid.
i attached code which i am doing,code is working for firt column only

thanks
Ankur Verma

poc.zip

1 Reply

J. J.Nagarajan Syncfusion Team September 6, 2007 07:41 PM UTC

Hi Ankur,

Thanks for your interest in Syncfusion product.

You can add the hyperlink values to the grid cells. Please refer to the following code snippet to add the hyperlink value to the second column

Me.gcControl(1, 2).CellType = "Control"
Me.gcControl(1, 2).Control = LinkLabel1
Me.gcControl(2, 2).CellType = "Control"
Me.gcControl(2, 2).Control = LinkLabel2
Me.gcControl(3, 2).CellType = "Control"
Me.gcControl(3, 2).Control = LinkLabel3

I have attached the sample that demonstrates this completely. You can download the sample from the following page. This sample works perfectly in v.5.2.0.16.

http://websamples.syncfusion.com/samples/Grid.Windows/F68014/main.htm

Please refer to the sample and let me know if you have any questions.

Regards,
Nagaraj

Loader.
Live Chat Icon For mobile
Up arrow icon