Can't invoke double click on datagrid

1 posts, 0 answers
  1. Shirley
    Shirley avatar
    1 posts
    Member since:
    Jun 2013

    Posted 04 Jun 2013 Link to this post

       SL5 support double click by the "ClickCount".But on the RadGridView, it won't invoke the event "MouseLeftButtonUp" when i click the data row.But when i click on the blank area it invoke, but the ClickCount always is 1.
    Is any body know what's the matter?

    My code like below:

    <telerik:RadGridView  AutoGenerateColumns="False" ShowGroupPanel="False" x:Name="dg" Grid.Row="0" Grid.Column="0" ScrollMode="RealTime"  DataLoadMode="Synchronous"
                                  Width="auto"  ShowGroupFooters="True" IsReadOnly="True"  MouseLeftButtonUp="dg_MouseLeftButtonUp"
                                                EnableRowVirtualization="True" RowIndicatorVisibility="Collapsed"   EditTriggers="CellClick" >

                    <telerik:GridViewDataColumn Header="ID" Width="120" DataMemberBinding="{Binding C_id,Mode=TwoWay}">


     void dg_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
                if (e.ClickCount == 2)
                   //do something

    Thanks for your help.
Back to Top