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.
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