This is a migrated thread and some comments may be shown as answers.

Binding to IEnumerable<> with open ended children

2 Answers 60 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 25 Jun 2012, 03:14 PM
Hello,

We're using the Telerik WinForms RadGridView and populating the DataSource with a generic IEnumerable<>. There can be children, and children of children, open ended, that I want to show hierarchy.

Something like this: Product -> Features -> Features -> Features (yes, the features can have features). I want to show these in the list hierarchically.

Best regards,

Michael

2 Answers, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 25 Jun 2012, 03:24 PM
Actually I should also mention, we're on an older version of Telerik WinForms, 2011 Q1 I think or something like that.

I'm reading the online docs: http://www.telerik.com/help/winforms/gridview-hierarchical-grid-binding-to-hierarchical-data-automatically.html

Seems like some of the properties that are mentioned we don't have. What gotchas should we be aware of upgrading from there to current version?

Mainly we are in WinForms, VS2010, 32-bit processes, .NET 3.5 (that's a killer right now, components stuck at that version until we can replace them).

Thank you...
0
Julian Benkov
Telerik team
answered on 28 Jun 2012, 07:40 AM
Hello Michael,

You can use the load-on-demand hierarchy mode to achieve your scenario. More information about load-on-demand hierarchy you can find in our online documentation.

Please upgrade your Winforms suite to latest version. From Q1 2011 to the current Q2 2012 release we have made more fixes and improvements to RadGridView control and all other UI controls. In the latest release we also introduced a major update of our theming mechanism to decrease memory footprint and improve performance.

I hope this information is useful. Let me know if you need further assistance.

Kind regards,
Julian Benkov
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
GridView
Asked by
Michael
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Julian Benkov
Telerik team
Share this question
or