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

Set EnableSkinSortStyles globally

3 Answers 157 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 15 Nov 2011, 07:09 PM
Hi,

I have a large number of RadGrids in my AP.NET AJAX project, and am using the following tag to remove the sort styling applied by the Office2010 skin:

<SortingSettings EnableSkinSortStyles="false" />

Is there a way I can apply this setting to all grids (globally), without having to add the tag to every single RadGrid declaration?

If there's no global setting, what's the best way to manage the application of this type of common attribute across numerous grids?

3 Answers, 1 is accepted

Sort by
0
Hunter
Top achievements
Rank 1
answered on 15 Nov 2011, 09:05 PM
Just a thought, you could create your own skin. In it you could add this setting as well as any others which are shared across your grids. Once created you would reference this custom skin via the grid's "SkinID". This custom skin can be used alongside the built-in "Skin" from telerik.
0
Shinu
Top achievements
Rank 2
answered on 16 Nov 2011, 07:50 AM
Hello Mark,

In order to customize the appearance, a better approach is to create a custom skin. Check the following help documentation which explains more about this.
Skins

-Shinu.
0
Mark
Top achievements
Rank 1
answered on 16 Nov 2011, 03:23 PM
Hi,

Thanks for your replies.

a better approach is to create a custom skin...

My application allows end users to switch between a number of the built-in Telerik skins, so this approach would require that I customize all of them simply to change one element (the themed sort indicator).

Any other options?
Tags
Grid
Asked by
Mark
Top achievements
Rank 1
Answers by
Hunter
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Mark
Top achievements
Rank 1
Share this question
or