2
Answers

Catch click event on link inside of datagridviewlinkcolumn

Grigoriy

Grigoriy

14y
21.5k
1

Hi All,

I am trying to figure how I can catch click event on Link inside of DataGridViewLinkColumn. I have searched a lot and found that only suggested way it is CellContentClick event. But this event does not care about what you clicked: Link or just text in any other textbox column. You have to analyze first in which column it happens and then react accordingly. While it is Ok for most implementation I do not feel it is right. Why I can not have Link insight DatagridView with own handler attached to it? Does any guru have time to look into it?

Thanks

Answers (2)