I have implemented a LinkLabel model and renderer in my grid. The MouseUp event is used to start the email. This works fine until I try to use QueryStyleInfo to load the Tag property with the actual email address. When QueryStyleInfo is hooked up, the MouseUp event is never fired in the LinkLabel renderer.
ADAdministrator Syncfusion Team January 26, 2005 08:13 AM
Specifying the tag in QueryCellInfo normally does not affect whether mouseup is hit in the cell renderer. Here is a link for a sample that shows this working for a griddataboundgrid.
What other events/properties are you using that might influence this?
KJKenneth JohnsonJanuary 26, 2005 08:26 AM
This is the sample I used to create my EmailLinkCellModel and EmailLinkCellRenderer. I agree that QueryCellInfo shouldn''t affect the OnMouseUp in EmailLinkCellRenderer, but if I comment out the creating of the QueryCellInfo event hook, the email form is displayed fine. With the hook, nothing. I''ll try to determine if another event is interfering. I also use CurrentCellMoved.
ADAdministrator Syncfusion Team January 26, 2005 10:50 AM
Your sample did not make it. Try sending it to email@example.com and mention this forum thread in teh subject line.
ADAdministrator Syncfusion Team January 26, 2005 10:56 AM
Tracked it down to the way I was getting the DataRow in the QueryCellInfo event. Thanks for the help.