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
close icon

OnMouseDown does not work in GridGenericControlCellRenderer

Hi,

I overrode OnMouseDown method in GridGenericControlCellRenderer but it this method does not get invoked when I click on a cell. At the same time, it works fine if I override OnClick method.

Basically, I'm hosting a custom control in GridGenericControlCellRenderer and I want this control to get the MouseDown event whenever I click on a cell (right now, our users have to click on a cell first time in order to activate it and then click in order to do something with it). My idea was to pass MOUSE_DOWN using SendMessage WinApi function, is there a better way?

Thanks!
Andrew

2 Replies

AD Administrator Syncfusion Team November 8, 2006 04:09 AM UTC

By the way, OnMouseDown is not getting invoked for all renderers. I quess it's a bug since OnMouseClick still works.


AD Administrator Syncfusion Team November 8, 2006 04:47 AM UTC

Hi Andrew,

Thanks for being patience.

We were not able to reproduce the issue here. Could you please provide a sample having the issue? This will help us to analyse the issue further.

Best regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon