How to read TreeList controls content at server side?

2 posts, 0 answers
  1. Johny
    Johny avatar
    9 posts
    Member since:
    Jul 2010

    Posted 15 May 2014 Link to this post

    I have treelist with several templated controls. How am I supposed to read values out of these controls if they are colapsed?

    Your own support says that the collapsed items are not available until expanded  ( Nice. Am I supposed to tell my users to expand the whole tree before saving?
  2. Eyup
    Eyup avatar
    3625 posts

    Posted 20 May 2014 Link to this post

    Hello Johny,

    Yes, you are correct. You can access only the visible and rendered items since the collapsed records are not loaded at the current time. It seems that you are trying to submit some values to the server which were entered from the users before the item was collapsed. In that case, you can try to implement some custom logic to gather and preserve the changes on javascript collections and pass them to the server when necessary. A similar approach for RadGrid selected items you can find in this sample:

    You can also check the recently introduced Batch editing functionality provided by RadGrid:

    Hope this helps.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top