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

How to retain pagesize value which user has entered pagesize value is larger than the total number of rows returned

10 Answers 81 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 06 Jul 2011, 11:36 AM
Hi Telerik Team,

I am facing this problem. I always want to keep exactly pagesize value which user has entered before but i can't find any solution. RadGrid always set the total number of rows for page size textbox if the pagesize user has entered is larger than the total number of rows.

Please help me any solution to resolve it.

Thanks!

10 Answers, 1 is accepted

Sort by
0
Sam
Top achievements
Rank 1
answered on 07 Jul 2011, 04:45 AM
Please help me any solution!!!

Thanks so much!
0
Pavlina
Telerik team
answered on 08 Jul 2011, 09:43 AM
Hello Sam,

The observed behavior is expected when you use NextPrevNumericAndAdvanced PagerStyle-Mode. However, to achieve the desired functionality, you could use NextPrevAndNumeric pager.

Best wishes,
Pavlina
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Sam
Top achievements
Rank 1
answered on 18 Jul 2011, 03:57 AM
Dear Telerik Team,

Using NextPrevAndNumeric pager, I only select the page size value in ComboBox.

How to enter the page size value in ComboBox if I use NextPrevAndNumeric pager  or any solution for me if I use NextPrevNumericAndAdvanced  pager.

Thank so much!
0
Sam
Top achievements
Rank 1
answered on 11 Aug 2011, 08:19 AM
Plz help me!
0
Pavlina
Telerik team
answered on 11 Aug 2011, 12:35 PM
Hello Sam,

When you use NextPrevAndNumeric pager you can add custom page size values in the pager combo as demonstrated in the project attached in the following forum thread:
http://www.telerik.com/community/forums/aspnet-ajax/grid/customized-page-size.aspx

Regards,
Pavlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Sam
Top achievements
Rank 1
answered on 12 Aug 2011, 05:07 AM
Hello Telerik Team,

In the project attached in the following forum thread http://www.telerik.com/community/forums/aspnet-ajax/grid/customized-page-size.aspx is work fine but it do not solve my problem.

I want to enter  custom page size values in the pager combo on web page (not hardcode in code behind) and if the custom page size value is larger than page size, I want to keep the custom page size value (RadGrid always set custom page size value is pagesize if it happens)

Plz help me any solution to solve it!

Thanks!
0
Princy
Top achievements
Rank 1
answered on 12 Aug 2011, 07:15 AM
Hello Sam,

Check the following demo which implements Advanced Paging.
Grid / Slider/Advanced-style Pager.

Thanks,
Princy.
0
Sam
Top achievements
Rank 1
answered on 12 Aug 2011, 07:51 AM
Hello Princy,

I have checked the demo with NextPrevNumericAndAdvanced in the link:Grid / Slider/Advanced-style Pager.

With this demo, if you enter value 250 in pagesize textbox, RadGrid auto set value 200 (max rows of RadGrid in this demo) back to pagesize textbox. I dont want it happens, I want to keep value 250 i has entered in pagesize textbox.

Any solution for me?

Thanks!
0
Sam
Top achievements
Rank 1
answered on 16 Aug 2011, 02:48 AM
Plz help me any solution to solve my problem!

:(
0
Pavlina
Telerik team
answered on 16 Aug 2011, 09:22 AM
Hello Sam,

The desired functionality is not supported by NextPrevNumericAndAdvanced pager. Please excuse us for the caused inconvenience.

Regards,
Pavlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Sam
Top achievements
Rank 1
Answers by
Sam
Top achievements
Rank 1
Pavlina
Telerik team
Princy
Top achievements
Rank 1
Share this question
or