Following your Online Example for Grid/Self-referencing Hierarchy, I can get the self-referencing to work on my test project...but, the issues I am having are:
I am using Linq to Sql Classes as my structure.
1. In my case, I set the root level filter to RadGrid1.MasterTableView.FilterExpression = "parentid = 0". This works as expected and only displays root level items, BUT, it never shows any children items b/c they are filtered out b/c of the filter expression. If I do not set the filter, I can expand the parent items to see the child items, but, the child items also appear as root items since there is no root level filter.
2. This is related to issue 1, when fitlering items at the root level, it never shows/filters any child items, again, b/c of the above filter where it is only showing items where parentid = 0..thus, the linq to sql expression only returns items where parentid = 0.
3. If I do not set the filter condition (which then allows me to see the hierarchal structure) and I filter items, is it possible to always show the parent row if the item itself is supposed to be a child item? For example, if the filter matches a child item, I want it to show the entire hierarchy of its parents even tho the parent might not match the filter condition.
Now, If I use a Parent-Child table structure, and not Self-Referencing is the following possible:
1. When filtering on a child table, it only filters the items under the currently expanded parent. Can I filter/show only parent items (along w/ child items) which child tables that match my filter criteria?
---
Also, how does the paging work w/ self-referencing..ie, if only displaying 25 items per page, will it grab all child items for all the root level items?
On a side note, we are currently on version 2010.3.1215.40 of the RadControls for ASP.NET AJAX, so please let me know if there were known issues for the past version.
Thanks