Double Click Event on the Grid Row

4 posts, 0 answers
  1. Syed Danish
    Syed Danish avatar
    70 posts
    Member since:
    Dec 2009

    Posted 01 Nov 2010 Link to this post

    Hi,

    Can any one please help me out of a situation where I need to trigger an event on the Double Click of the Row of the Rad Grid.
    Is there any event for double click on the grid.

    Thanks and Regards,
    Syed Danish
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 01 Nov 2010 Link to this post

    Hi Syed Danish,

    You may take a look at our demos demonstrating Click Events.
     

    Kind regards,
    Maya
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Syed Danish
    Syed Danish avatar
    70 posts
    Member since:
    Dec 2009

    Posted 01 Nov 2010 Link to this post

    Hi Maya,

    Thanks for the quick reply. I am using Silverlight 3 and Telerik tool kit 2009.3.1103.1030. Is there any way or the event to handle the Double Click Event, with this tool kit.

    Thanks and Regards,
    Syed Danish
  5. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 03 Nov 2010 Link to this post

    Hello Syed Danish,

    Following up the sample in our demo, you may try to made some slight changes made:

    public MainPage()
            {
                InitializeComponent();
                this.clubsGrid.AddHandler(GridViewCell.MouseDoubleClickEvent, new EventHandler<RadRoutedEventArgs>(OnCellDoubleClick), true);      
            }
     
            private void OnCellDoubleClick(object sender, RadRoutedEventArgs args)
            {
                GridViewCellBase cell = args.OriginalSource as GridViewCellBase;
                if (cell != null)
                {
                    this.ClickedCell = cell;
                }
            }  

    I am sending you a sample project illustrating the proposed solution.
     


    Greetings,
    Maya
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top