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

Pageindex first

2 Answers 41 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Morten
Top achievements
Rank 2
Iron
Iron
Veteran
Morten asked on 02 Aug 2010, 04:02 PM
In a RadGrid I use a user control for update and insert:

      <EditFormSettings UserControlName="DetailsDetails.ascx" EditFormType="WebUserControl">
        <EditColumn UniqueName="EditCommandColumn1"></EditColumn>
      </EditFormSettings>

Whenever the "New" is clicked in the radgrid command item template the user control loads find, however the radgrid now displays the last page.

How/where do I set pageindex when the new button is clicked?

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 03 Aug 2010, 07:44 AM
Hello Morten,


You can customize the insert form display by setting the property InsertItemPageIndexAction. The following links explains more about this.
Customize the insertion form display position with paging enabled (Documentation)
Grid / Command Item (Demo)


-Shinu.
0
Morten
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 03 Aug 2010, 10:00 AM
My solution:
<
MasterTableView InsertItemPageIndexAction="ShowItemOnFirstPage">
Tags
Grid
Asked by
Morten
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Shinu
Top achievements
Rank 2
Morten
Top achievements
Rank 2
Iron
Iron
Veteran
Share this question
or