Hai all,
I need to insert a link label inside a grid. Is it possible to do that. The problem is the link data is going to be fed by a database and the link lable should come at the first column of the grid. Is there any way to do that. Please help with some code samples if possible. Thank you in advance for all your help.
thanks mike for ur reply. I've handled it in the way you told. i jus want the text alone to be as link. So used the control.
BTW.. if you want text and a link in the cell, then the way you are doing it is correct. If you want the entire cell to be a link, then you could just set teh Style of the column to URL.
Anyway, I don't think LinkClicked gives you a mouse button. So you would have to trap the MouseDown event on the grid and simply record the last mouse button that was used in a variable.
Is it possible to get which mouse button is clicked in the linkclicked event?
Since you have the actual UltraGridCell through the Context, you'll be able to get the row, and thus the value of the other cells.
-Matt
Okie. I'm not sure if thats gonna bring any problem. But thank you so much matt for all your help. Just tell me one thing will i be able to classify the data from each cell even though i have same value in them by the context value in the linkclicked event?