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

Common Look and Feel Across Entire Application

1 Answer 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
johnv
Top achievements
Rank 2
johnv asked on 01 Sep 2011, 03:24 PM
Hey Community,

I need to lock down my grids look and feel across my entire application. I was wondering if there was a configuration I can define for the site that makes all my grids behave the same way. Sort of like using the Skin in the web.config.

Can I set any grid properties in the web.config?

For instance:
  • Skin="Transparent" - Yes, I know I can do this...
  • EnableViewState="false"
  • AllowPaging="true"
  • PageSize="18"
  • etc...

I mean it would really be nice to enable row hover, dbl-click, and other advanced features once so it guarantees a common look and feel everywhere, but could be overridden if defined in the grid markup, or programmaticly.

Thanks.

John

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 06 Sep 2011, 02:33 PM
Hello John,

You could try using a StyleSheetTheme for the grids in your page. It generally works the same way as a Theme but its settings can be overwritten in markup:
http://msdn.microsoft.com/en-us/library/system.web.ui.page.stylesheettheme.aspx
http://weblogs.asp.net/vimodi/pages/WhatIs-StyleSheetTheme.aspx

Greetings,
Tsvetina
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Grid
Asked by
johnv
Top achievements
Rank 2
Answers by
Tsvetina
Telerik team
Share this question
or