Edit on double click in hierarchical grid

Thread is closed for posting
4 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 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. B33C0A60-AA2F-49E3-82C5-D797F891E8D9
    B33C0A60-AA2F-49E3-82C5-D797F891E8D9 avatar
    5 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. B33C0A60-AA2F-49E3-82C5-D797F891E8D9
    B33C0A60-AA2F-49E3-82C5-D797F891E8D9 avatar
    5 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. B33C0A60-AA2F-49E3-82C5-D797F891E8D9
    B33C0A60-AA2F-49E3-82C5-D797F891E8D9 avatar
    5 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

This Code Library is part of the product documentation and subject to the respective product license agreement.