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

[Solved] RadGrid1_InsertCommand go the grid to last page

1 Answer 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
rema43001
Top achievements
Rank 1
rema43001 asked on 15 Oct 2009, 09:43 PM
When I click Add New Row, appear the CommandItemDisplay correctly, but the grid is positioned in the last page, when It must be positioned in the page where I clicked.

Can you help me?

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 16 Oct 2009, 04:10 AM
Hello Richard,

You can set the InsertItemPageIndexAction property of the ownertableview to ShowItemOnCurrentPage.
aspx:
 <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1">   
              <MasterTableView DataSourceID="SqlDataSource1"  
InsertItemPageIndexAction="ShowItemOnCurrentPage" CommandItemDisplay="Top">  
                   

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