Telerik

Code Library

Skip Navigation LinksHome / Community / Code Library / ASP.NET and ASP.NET AJAX > Grid > Edit on double click in hierarchical grid

Edit on double click in hierarchical grid

Feed from this thread
  • Telerik Admin MVP avatar

    Posted on Oct 12, 2006 (permalink)

    Requirements

    RadGrid version

    4.x

    Telerik.Web.UI Web.UI_2007_3_1328+
    .NET version

    2.0

    Visual Studio version

    VS 2005

    programming language

    VB.NET, Javascript

    browser support

    all browsers supported by RadGrid

    To convert code from posted projects Telerik online converter

    PROJECT DESCRIPTION
    This project represents how to transform the edit on double click online example to work with two-level hierarchy grid (automatic update operation and data editing confirmation included). 

    The example can be extended to work with multiple nested tables as well.


    RadGrid Classic only:
    Note that for the child table you will need to find the nested view by unique name in the code-behind of the page. The unique id is passed as argument to the RadGridClientObject.AjaxRequest method and extracted inside the RaisePostBackEvent handler.

  • lakshman avatar

    Posted on May 6, 2008 (permalink)

    Question on Double-click with AJAX javascript -> to Edit Mode:
        1. I have created a dynamic RadGrid when user clicks on a button. RadGrid displays fine, datasource is based on a filter from a text box.
    When I set the datasource in the button click event, the Ajax double click event fires fine, but the datagrid is not going into edit mode. Any ideas?

    ((RadGrid1.MasterTableView.Controls[0]

    as Table).Rows[int.Parse(postBackEventArgumentData[1])] as GridItem).Edit = true;



    If I put the datasource binding and query in the page_load, the doubleclick works fine which takes into Edit mode.

  • lakshman avatar

    Posted on May 6, 2008 (permalink)

    Thanks Prangadj...Telerik seems to be a hell for beginner without proper guidance...Appreciate your help...NeedDataSource works ...

  • lakshman avatar

    Posted on May 6, 2008 (permalink)

    Thanks Prangadj...Telerik seems to be a hell for beginner without proper guidance...Appreciate your help...NeedDataSource works ...

Back to Top

Skip Navigation LinksHome / Community / Code Library / ASP.NET and ASP.NET AJAX > Grid > Edit on double click in hierarchical grid

Powered by Sitefinity ASP.NET CMS

Contact Us | Site Feedback | Terms of Use | Privacy Policy
Copyright © 2002-2010 Telerik. All rights reserved.