We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

LinkLabelCell

Is there a way to display an extra commentary text (not the LinkLabel.Text) when mouse is moved up to the link text? Mechelle

10 Replies

AD Administrator Syncfusion Team April 29, 2005 03:37 PM

You can try specifying the CellTipText property of the style. this.gridControl1[rowIndex, 2].CellTipText = "Some Cell Tip";


ME Mechelle April 29, 2005 04:42 PM

Thanks for the answer. CellTipText works well. But I have a new problem now. In my grid_PrepareViewStyleInfo method, I have following line of code, e.Style.CellType = "LinkLabelCell"; Originally I was planning to set e.Style.Tag here, and found somehow it could not be passed to LinkLabelCell::OnMouseUP. So I set e.Style.Tag in gridModel_QueryCellInfo method. Then I found OnMouseUP event is very hard to trigger. 1 out 10 times the event can be triggered, most of time it doesn''t do anything. So my question where is the proper place to set e.Style.Tag? And for my case the contents of the Tag is related to the individual text of that cell, I won''t know it before grid being shown. Thanks, Mechelle >You can try specifying the CellTipText property of the style. > > this.gridControl1[rowIndex, 2].CellTipText = "Some Cell Tip"; >


AD Administrator Syncfusion Team April 29, 2005 08:23 PM

Try setting the CellType in QueryCellInfo (instead of PrepareViewStyleInfo) to see if that allows the renderer.OnMouseUp to be hit consistently.


ME Mechelle May 2, 2005 12:11 PM

No, It doesn''t work. mechelle


ME Mechelle May 2, 2005 04:03 PM

Is there any other suggestion? Mechelle >No, It doesn''t work. > >mechelle


AD Administrator Syncfusion Team May 2, 2005 06:07 PM

Here is a sample where I tried to reproduce this problem, but was unable. Can you see the problem in this sample? Are you doing something differently? http://www.syncfusion.com/Support/user/uploads/LinkLabel_2a17b1b1.zip


ME Mechelle May 5, 2005 11:02 AM

I found the problem, but still don''t know how to fix it. In my grid, only double click of the mouse can fire the OnMouseUp event. But single click should work. Do you know how to fix it? Thanks, Mechelle


AD Administrator Syncfusion Team May 5, 2005 12:22 PM

Can you upload a sample project showing the problem?


KM kmdigliio September 6, 2005 06:17 AM

I am having the same problem as Mechelle. The example you provided is using a gridcontrol. Can you rework the example to use a GridDataBoundGrid? >Here is a sample where I tried to reproduce this problem, but was unable. Can you see the problem in this sample? Are you doing something differently? > >http://www.syncfusion.com/Support/user/uploads/LinkLabel_2a17b1b1.zip > >


AD Administrator Syncfusion Team September 6, 2005 10:13 AM

Here it is. http://www.syncfusion.com/Support/user/uploads/LinkLabel_5cf2aa9b.zip

Loader.
Live Chat Icon For mobile
Up arrow icon