Collapsing child rows programmatically

2 posts, 0 answers
  1. Gonzalo
    Gonzalo avatar
    76 posts
    Member since:
    Oct 2012

    Posted 28 Feb 2012 Link to this post

    Is there a way to program to collapse child rows in a gridview control? 

    Best regards,

  2. Stefan
    Stefan avatar
    2911 posts

    Posted 02 Mar 2012 Link to this post

    Hello Gonzalo, 

    Thank you for writing.

    In order to collapse the expandable rows of a certain template, just call the CollapseAll method of the latter. Here is an example how to do that for the MasterTemplate:

    I hope that you find this information useful. Let me know if you have further questions.

    All the best,
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top