This is possible using the winforms datagrid. You will have to create a new DataGridColumnStyle to do this. Just extend the datagridcolumnstyle to create a new link column. Override the paint functionality of the column to draw a link instead of text.. use the HitTest of the datagrid to determine where the user clicks to perform your action.
Hopefully this'll point you in the right direction. Thanks, Robert -----Original Message----- From: James Gibson [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 10:11 AM To: [EMAIL PROTECTED] Subject: [DOTNET] Help! How can I hyperlink from Windows datagrid? Hello all, I'm really desperate for a solution. The Windows datagrid control provides pretty much all the functionality I need (though it's still a bit buggy) EXCEPT for the ability to have a hyperlink column. The web form of this control provides that ability, but unless I'm missing something, the Windows version does not. I currently just have the user click somewhere on a row, and I catch the MouseUp event, and do the branch, but that's not a good solution. It provides no visual cue to the user that they should click in that location. Also, it provides no visual cue as to which rows they have clicked on, while hyperlinks show a different color for links that have been used. Should I abandon the datagrid, and write my own control? Are there third-party datagrid controls without this limitation? Am I missing something altogether? Any insights would be very much appreciated. Thanks, James Gibson 952-988-0898 You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.