Hyperlink column?

  • Thread starter Thread starter Gary
  • Start date Start date
G

Gary

I have a bound Datagrid in my Windows Application.
Is it possible to have one of the bound columns in the grid behave as a
hyperlink, so that when clicked, it opens up a new window with some info?

Any pointers/suggestions?
 
Yes, but you have to customize the columns that are displayed yourself
rather than just using the default binding. If you click on the button next
to the Columns property in the Property window for a DataGridView control
it will bring up the columns editor. From there you can add columns of
various types. One of the column types is a DataGridViewLinkColumn.
 
Thanks Andrew,

I am using VS.NET 2003... it doesnt have the DataGridView control :(

What are the alternatives?


Andrew Faust said:
Yes, but you have to customize the columns that are displayed yourself
rather than just using the default binding. If you click on the button
next to the Columns property in the Property window for a DataGridView
control it will bring up the columns editor. From there you can add
columns of various types. One of the column types is a
DataGridViewLinkColumn.

--
Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com


Gary said:
I have a bound Datagrid in my Windows Application.
Is it possible to have one of the bound columns in the grid behave as a
hyperlink, so that when clicked, it opens up a new window with some info?

Any pointers/suggestions?
 
Back
Top