4 Answers, 1 is accepted
0

Sean
Top achievements
Rank 1
answered on 11 Dec 2012, 09:20 PM
Sorry ... additionally I want to display the 'Displaying page 1 or 10' in the header as well.
0

Shinu
Top achievements
Rank 2
answered on 12 Dec 2012, 03:58 AM
Hi,
Try setting Position property as shown below.
aspx:
Thanks,
Shinu.
Try setting Position property as shown below.
aspx:
<
PagerStyle
Mode
=
"NextPrevAndNumeric"
Position
=
"Top"
/>
Thanks,
Shinu.
0

Sean
Top achievements
Rank 1
answered on 12 Dec 2012, 03:15 PM
nah that doesn't really work I want the navigation and page #'s at the bottom - only the page count/size dropdown at the top
0
Hello Sean,
Please try the following approach:
CSS:
I hope this will prove helpful. Please give it a try and let me know about the result.
Kind regards,
Eyup
the Telerik team
Please try the following approach:
protected
void
RadGrid1_ItemCreated(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridPagerItem)
{
GridPagerItem pagerItem = e.Item
as
GridPagerItem;
if
(pagerItem.IsTopPager)
{
pagerItem.CssClass =
"topPagerClass"
;
}
else
{
pagerItem.FindControl(
"PageSizeComboBox"
).Parent.Visible =
false
;
}
}
}
<style type=
"text/css"
>
.topPagerClass .rgArrPart
1
,
.topPagerClass .rgNumPart,
.topPagerClass .rgArrPart
2
,
.topPagerClass .rgInfoPart
{
display
:
none
;
}
</style>
I hope this will prove helpful. Please give it a try and let me know about the result.
Kind regards,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.