Edit on double click in hierarchical grid

Thread is closed for posting
4 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 12 Oct 2006 Link to this post

    Requirements

    RadGrid for ASP .NET version

    4.x and later

    RadControls for ASP .NET AJAX version 2008.1.415 and later
    .NET version

    2.0 and later

    Visual Studio version

    VS 2005 and later

    Programming language

    VB.NET, Javascript

    Browser support

    all supported by RadGrid for ASP .NET


    all browsers supported by RadControls for ASP .NET AJAX

    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.
  2. lakshman
    lakshman avatar
    4 posts
    Member since:
    May 2008

    Posted 06 May 2008 Link to this post

    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.
  3. lakshman
    lakshman avatar
    4 posts
    Member since:
    May 2008

    Posted 06 May 2008 Link to this post

    Thanks Prangadj...Telerik seems to be a hell for beginner without proper guidance...Appreciate your help...NeedDataSource works ...
  4. lakshman
    lakshman avatar
    4 posts
    Member since:
    May 2008

    Posted 06 May 2008 Link to this post

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