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

Filtering on self-reference hierarchy grid

1 Answer 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Luka
Top achievements
Rank 1
Luka asked on 20 Sep 2011, 08:09 AM
Hi, I have a self-referencing hierarchy in RadGrid.
The items are showing correctly, and I am using advanced data-binding with NeedDataSource method and ServerOnDemand.
The problem becomes when I try to filter the data in the grid.
Then the data looses its hierarchy. 
But when I apply filter to the data (manually with Linq) before I Bind it to the grid all works fine.

Is there a way that instead to filter grid, I filter the data I am passing to the grid datasource in NeedDatasource method?

Thnaks

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 23 Sep 2011, 12:20 PM
Hi Luka,

Self-referencing hierarchy with filtering is not a supported scenario. Please excuse us for the inconvenience caused.

Best wishes,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
Luka
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or