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

Radgrid PagerStyle issue in Visual Studio 2010

2 Answers 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Raj
Top achievements
Rank 1
Raj asked on 01 Feb 2011, 05:53 PM
Hi,

I was using VS 2008 and my radgrid's pagerstyle was working as per my code. But, now when I upgraded to VS 2010, it does't work the same. I set the pagerstyle settings in page_prerender to be true or false based on grid itemcount, so that the pagerstyle is visible.
Ex: Suppose the total records in the grid are 48 and the page size chosen is 50, then also the pagerstyle is displayed in VS 2008.
In VS 2010, if I go one by one on page size, like from 10 to 12 to 20 to 50, its fine, but when I skip any of them, its not displayed any more.
My new version of telerik is : Telerik Tools Suite 2010 1.0.0.1 XP.

Page_Prerender()  {

if (grid.Items.Count > 10)

        { grid.PagerStyle.AlwaysVisible = true; }

else

        { grid.PagerStyle.AlwaysVisible = false;}

}
Thanks for your time.
Regards,
Raj

2 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 07 Feb 2011, 10:19 AM
Hello Raj,

I am afraid that we do not have a release matching the version you have specified. Please provide the correct version of RadControls you are currently using and will be able to test the described problem locally and provide you with more to the point resolution.

Kind regards,
Martin
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
Raj
Top achievements
Rank 1
answered on 07 Feb 2011, 02:36 PM
Hi Martin,

I am using RadControls for ASP.NET AJAX Q2 2010 SP2. I solved my query by adding " grid.PagerStyle.AlwaysVisible = true " in the page load event.

Thanks,
Raj
Tags
Grid
Asked by
Raj
Top achievements
Rank 1
Answers by
Martin
Telerik team
Raj
Top achievements
Rank 1
Share this question
or