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

pagerstyle not holding its setting

2 Answers 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 03 Aug 2010, 07:17 PM

I have two radgrids on the same page being populated with data. On each grid I have this setting:
PagerStyle-Position="Bottom"
However, on postbacks it seems that the pager display will appear on the top and bottom of both grids. I don't set this anywhere else in the code. What would cause the property to reset? How can I get it to maintain its value? I can post any code that is needed. Thanks.

 

2 Answers, 1 is accepted

Sort by
0
Raviraj
Top achievements
Rank 2
answered on 04 Aug 2010, 04:22 PM
I am also getting same error on post back of some other controls sometimes(specially for master page controls). Even if I tried to set the pager position as below for my custom grid

 protected override void OnPreRender(EventArgs e)
        {
            this.PagerStyle.Position = GridPagerPosition.Bottom;
            this.MasterTableView.PagerStyle.Position = GridPagerPosition.Bottom;
            base.OnPreRender(e);
        }

Please suggest.
0
Pavlina
Telerik team
answered on 06 Aug 2010, 09:04 AM
Hello Jason and Raviraj,

Make sure that you have upgraded to the latest release of the controls - there was an issue with the pager that was fixed a few months ago.

All the best,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Jason
Top achievements
Rank 1
Answers by
Raviraj
Top achievements
Rank 2
Pavlina
Telerik team
Share this question
or