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

RadGrid paging issue

2 Answers 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 06 Jan 2011, 01:26 AM
I have a RadGrid that binds to a web service which pulls data from a SQL database. There is a Workflow that inserts records into the database which are displayed in the RadGrid, but I've noticed that when new records are inserted into the database from Workflow that the page index is reset to the first page. So, two questions: First, is this typical behavior for the RadGrid or did I do something on my own to cause this? Second, if this is typical behavior, is there anything I can do to maintain the page that I was on when the new record was inserted into the table?

Thx in advance!

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 06 Jan 2011, 08:29 AM
Hello Mike,

Try setting  InsertItemPageIndexAction property of MasterTableView to "ShowItemOnCurrentPage"and check whether it solves the issue.

ASPX:
<MasterTableView InsertItemPageIndexAction="ShowItemOnCurrentPage">

Thanks,
Princy.
0
Mike
Top achievements
Rank 1
answered on 06 Jan 2011, 04:07 PM
Hi Princy!

Thx for the advice, I'll try that and let you know.

Mike
Tags
Grid
Asked by
Mike
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Mike
Top achievements
Rank 1
Share this question
or