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

[Solved] Grid looses page on postback

1 Answer 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 11 Nov 2009, 02:43 AM
Hello

I have a grid with paging in a tabbed page and when a user clicks on the edit on an item in the grid on a page > 1 it edits the wrong thing. It edits the item on the first page in the same position.

Its almost like the page isn't posting back corectly.

Any ideas

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 11 Nov 2009, 07:25 AM
Hello Simon,

How do you bind your grid? Try using the NeedDataSource eventhandler for binding the RadGrid. Check out the following demo to understand AdvancedDataBinding techniques better:
Advanced Data Binding

Also if you are already using AdvanceDataBinding techniques, make sure that you do not use DataBind() calls which otherwise can interfere with the advanced binding(with NeedDataSource handling) and cause these unexpected results on paging/sorting.

Thanks
Princy.
Tags
Grid
Asked by
Simon
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or