Single/Update edit button for whole TreeList

2 posts, 0 answers
  1. Gijo
    Gijo avatar
    26 posts
    Member since:
    Jan 2008

    Posted 29 Aug 2011 Link to this post

    I have a TreeList that displays data in a hierarchy and has got three columns and one of the column is editable. I want to have a single edit/update button on the top the TreeList (rather than havong edit/update button for each row), clicking on which will make the Entire TreeList editable and updatable.  Any help Appreciated. Thanks in Advance.
  2. Gijo
    Gijo avatar
    26 posts
    Member since:
    Jan 2008

    Posted 29 Aug 2011 Link to this post

    I figured it out and turned to be simple.

    1. Set AllowMultiItemEdit= "true"
    2  I put a button on top of the grid an in the Click event, loop thru and set item.Edit = true

     

        foreach (TreeListDataItem item in RadTreeList1.Items)

     

        {

            item.Edit =

    true;

     

        }



    Please let me know if the same can be accomplished without looping.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top