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

Client side hierarchical binding with ClientDataSource

0 Answers 99 Views
ClientDataSource
This is a migrated thread and some comments may be shown as answers.
Sudharsan
Top achievements
Rank 1
Sudharsan asked on 04 Jul 2017, 12:22 PM

Can I use RadClientDataSource for binding hierarchical grid? do you have any working example?

I tried creating the one with NestedViewTemplate like below ( just skeleton), 

<telerik:RadGrid ClientDataSourceID="RadClientDataSource1">
<MasterTableView>
<Columns></Columns>
<NestedViewTemplate>
<telerik:RadGrid ClientDataSourceID="RadClientDataSource2"/>
</NestedViewTemplate>
</MasterTableView>
</telerik:RadGrid>

I got multiple issue listed below, so I just want to check whether is it possible to use this option for hierarchical binding? if not do you have any other alternative option using client side binding?

1. When I change the pagesize from 10 to 20, expand icon was not appearing for the records starting from 11 to 20.
2. When I expand the first record in first page, then move to next page, expanded record doesn't collapse and it shows in next page as well.
3. When an expand command is fired then both the MasterView and Nestedview get refreshed, not retaining the state, say if I expand second page record, grid goes to first page

 

No answers yet. Maybe you can help?

Tags
ClientDataSource
Asked by
Sudharsan
Top achievements
Rank 1
Share this question
or