Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / November 2007

Tip: Looking for answers? Try searching our database.

Hyperlink column?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gary - 07 Nov 2007 00:42 GMT
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?
Andrew Faust - 07 Nov 2007 03:24 GMT
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.

Signature

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

>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?
Gary - 07 Nov 2007 18:09 GMT
Thanks Andrew,

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

What are the alternatives?

> 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
[quoted text clipped - 8 lines]
>>
>> Any pointers/suggestions?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.