Hello.
Could you help me to fix problem finding items in grid?
I use RadGrid with pagination to display table information.
A simple binding approach is used. So I have to rebing grid every time after the grids operations are called: paging/sorting/grouping.
I have a list of selected items(DataKeyNames) were selected by user. The restoring performs on Item_Bound event.
Step to reproduce incorrect situation:
1. Select one item in 1 page.
2. Move to second page. The Item_Bound event is fired.
The grid finds item which was selected on first page. After that selects founded item.
But this item was on the first page. Why does grid find it?
3. Grid displays the second page.There is no exist selected item.
4. Move to third page. The grid does not find item which was selected on first page.
I think the grid shouldn't find item if this item does not exist on the curent page. Am I right?
Why does grid find item when page is first time post back, and does not find when page is second time postback?
Thanks.
Alex.
Could you help me to fix problem finding items in grid?
I use RadGrid with pagination to display table information.
A simple binding approach is used. So I have to rebing grid every time after the grids operations are called: paging/sorting/grouping.
I have a list of selected items(DataKeyNames) were selected by user. The restoring performs on Item_Bound event.
Step to reproduce incorrect situation:
1. Select one item in 1 page.
2. Move to second page. The Item_Bound event is fired.
The grid finds item which was selected on first page. After that selects founded item.
But this item was on the first page. Why does grid find it?
3. Grid displays the second page.There is no exist selected item.
4. Move to third page. The grid does not find item which was selected on first page.
I think the grid shouldn't find item if this item does not exist on the curent page. Am I right?
Why does grid find item when page is first time post back, and does not find when page is second time postback?
Thanks.
Alex.