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

How to prevent last page jump when inserting item?

2 Answers 58 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Henrik
Top achievements
Rank 1
Henrik asked on 02 Jan 2011, 02:04 PM
As soon as I try to insert an item into my paging grid it moves to last page. Is it possible to avoid this?

//h

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 03 Jan 2011, 05:09 AM
Hello Henrik,

This is actually the default behavior of RadGrid control.You can display the insert form on first page or current page of grid by setting InsertItemPageIndexAction property of MasterTableView.

ASPX:
<MasterTableView  CommandItemDisplay="Top"   InsertItemPageIndexAction="ShowItemOnFirstPage">

Thanks,
Princy.
0
Henrik
Top achievements
Rank 1
answered on 03 Jan 2011, 10:43 AM
Thanks!

Worked like a charm!

//h
Tags
Grid
Asked by
Henrik
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Henrik
Top achievements
Rank 1
Share this question
or