Setting selected item and its child items in edit mode from CommandItem button

1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 07 Jun 2006 Link to this post



    RadGrid for ASP .NET version

    RadControls for ASP .NET AJAX version

    3.2.0 and later

    2008.1.415 and later

    .NET version

    2.0 and later

    Visual Studio version

    2005 and later

    Programming language


    Browser support

    all supported by RadGrid for ASP .NET

    all browsers supported by RadControls for ASP .NET AJAX

    The application illustrates how to edit selected grid row from the master table along with all child rows for expanded detail table. The operation takes place when you hit the link button inside the CommandItemTemplate of the MasterTableView. If the selected item is not expanded only that very item will be turned in edit regime.

    The main idea is to set Edit property for the selected parent item and its ChildItem.NestedTableViews[0].Items to true and rebind the grid.
Back to Top

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