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

Why does Paging reposition on insert new record?

2 Answers 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 03 Jun 2014, 03:22 PM
I am using an edit form template. Editing a record is fine, but when I select the "add new record button", the paging moves about 14 pages (I am using 50 rows per page). After cancelling or saving the record, the paging stays at that new paging position. My sqldatasource is sorted desc by the identity field.  So I am no longer at the top (newest record). I even tried rebinding the grid after initializing(RadGrid.InitInsertCommandName). Why does the act of initializing the insert do this? Very strange, but I'm sure one of you know what I am doing wrong.

Tom

2 Answers, 1 is accepted

Sort by
0
Tom
Top achievements
Rank 1
answered on 04 Jun 2014, 01:22 PM
I also noted that this only happens when an "Admin" logs in. I have a panel  located halfway down the edit form template  that is only visible by admins. That panel's visible attribute is set to true when an admin logs in. How can this affect the paging mechanism? Any ideas?

Tom again 
0
Princy
Top achievements
Rank 2
answered on 05 Jun 2014, 06:37 AM
Hi Tom,

This is an expected behavior, please check this article to know how to Customize the Insertion Form Display Position with Paging Enabled.

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