AutoGenerateHierarchy in GridView

2 posts, 1 answers
  1. Erion
    Erion avatar
    11 posts
    Member since:
    Feb 2011

    Posted 15 Sep 2011 Link to this post


    I want to use AutoGenerateHierarchy, but I am having a hard time, telling the grid to not show certain columns. I added child templates with the name in the properties of the object being displayed, and marking these columns as not visible, but these templates just get ignored. 

    How can I control what which columns get displayed when using AutoGenerateHierarchy ? 

  2. Answer
    Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 16 Sep 2011 Link to this post

    Hello Erion,

    Please handle the DataBindingComplete event, check for the templates being loaded there and if everything is loaded, customize everything in that event.

    Hope this helps, if you have any other questions or comments, please let me know,

    Best Regards,
    Emanuel Varga

    Telerik WinForms MVP
Back to Top