GridViewRow Event

0 Answers 14 Views
Top achievements
Rank 1
Justin asked on 13 Sep 2022, 08:42 AM | edited on 13 Sep 2022, 08:50 AM

Hi,Telerik Team,

I‘m using RadGridView  and  “EventToCommandBehavior.EventBindings”  to   process  GridViewRow's MouseEnter event,

but “EventToCommandBehavior.EventBindings”  is  in RadGridView's  range,it couldn’t  connected  with  GridViewRow's  MouseEnter event exactly ,

which eventName should I use  when I need   GridViewRow's MouseEnter event.

this is  my code :

                        <telerik:EventBinding Command="{Binding RowMouseEnterCommand}"    EventName="MouseEnter" CommandParameter="{Binding ElementName=GridView, Path=SelectedItem}"/>


Dilyan Traykov
Telerik team
commented on 15 Sep 2022, 01:55 PM

Hi Justin,

To process the MouseEnter event, you would need to first handle the RowLoaded event of the RadGridView control as explained in the Handle Cell/Row Mouse Events article.

You can then execute your logic as expected in the added handler. Please give this a try and let me know if such an approach would work for you.

No answers yet. Maybe you can help?

Asked by
Top achievements
Rank 1
Share this question