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

[Solved] How to get the selected Page Index?

1 Answer 168 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Medac
Top achievements
Rank 1
Medac asked on 18 Nov 2009, 11:06 AM
Hi,

I have one grid which contains around 150 records. I have Edit Case button. Initially I have set the Page Size of the grid as 10. User can change the page size and will select some 100th record and clicks on Edit case button.
I need to display the selected case details and also need to reduce the page size of the grid from 10 (Or user selected page size) to 5 and wherever the 100th record exists (i.e in any page) that needs to be highlighted. Is this possible in the RadGrid?

Regards,
Medac

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 18 Nov 2009, 12:11 PM
Hi Medac,

When you change the current page size the RadGrid needs to be rebound to apply the setting.
To achieve the desired by you functionality, you should save the index of the item the user wants to edit, change the page size and then put that item in edit mode.

Please give this suggestion a try and tell me how it goes.

Sincerely yours,
Mira
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Medac
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or