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

[Solved] Change Skin for Pager

1 Answer 101 Views
Grid
This is a migrated thread and some comments may be shown as answers.
willk
Top achievements
Rank 1
willk asked on 20 Feb 2013, 11:00 PM
Hi All,

I want to have a different skin for the Pager than the rest of the RadGrid. I can't find a way to set it using the properties of the RadGrid, and if I try to set it in the itemcreated or itemdatabound events I'm told that it can only be set in or before the Page_PreInit.

Any help would be appreciated on the right way to go about this.

Thanks.
- Will

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 25 Feb 2013, 02:49 PM
Hi Will,

Please note that the grid pager item is not a separate control, therefore,  there is no direct approach to select a different Skin for it. You can apply your CSS to the pager instead:
<PagerStyle CssClass="className" />
Or customize the skin itself:
http://www.telerik.com/help/aspnet-ajax/grid-appearance-creating-new-skins.html

Alternatively, you can use a template to configure the pager structure:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/pagertemplate/defaultcs.aspx
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/customizingpager/defaultcs.aspx

Hope this helps.

All the best,
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.
Tags
Grid
Asked by
willk
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or