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

Telerik RadGrid-Page navigation and results display Issue

1 Answer 32 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Hari krishna
Top achievements
Rank 1
Hari krishna asked on 29 Jun 2012, 03:03 PM
Hi,

I'm displaying the reults in the radgrid based on the dropdown value change
for example one of my dropdown value "INS1" giving the 200 records.So in my grid i'm displaying the 200 records as 20 pages(means 10 records per page(ISSUE1.png)) and i navigated to 15th page.
after that i selected one more value "INS2" from dropdown which gives 100 records( in my grid i suppose to  display the 100 records as 10 pages(means 10 records per page),like ISSUE3.png).But i not able to see the results in grid as i was on 15th page of previous selected value("INS1") results.but  INS2 has 10 pages only So i not able to see the results(no results are showing(ISSUE2.png)).

For Reference Please find the below 3 screen shots

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 04 Jul 2012, 01:00 PM
Hello Harihishna,

Thank you for contacting us and for your interest in our RadGrid control.

In order to achieve your requirement, when you are rebinding the grid to the new data, before calling the control's Rebind() method, set its RadGrid1.MasterTableView.CurrentPageIndex = 0 or whatever page you need to go to.

Do let us know if you need further assistance.

Greetings,
Tsvetoslav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Hari krishna
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or