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

[Solved] Built in Skin issues

4 Answers 124 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bill O'Neil
Top achievements
Rank 1
Bill O'Neil asked on 02 Apr 2008, 12:35 AM
I'm running in to some style issues and I have a tough time thinking I'm alone.

Using the built in skins is a great advantage (from an ease of use standpoint) but sometimes it feels like the skins go too far.  For example - when using most skins (at least the ones I use most often) I can't seem to set the Horizontal Alignment of the headers.  This means I can't center the header over a column (even though I can center the column data just fine.)

In addition - it would be nice to have some control over other items (like Grid Lines - which seem to be always on or always off depending on the skin) but those seem more like "nice to haves" while not being able to center header text feels more like a bug.

Am I missing something?  Anyone have a solution for this? Or is this something that could be done in a future release?

Thanks!
Bill  

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 02 Apr 2008, 02:13 PM
Hello Bill O'Neil,

Thank you for contacting us and up to your questions:
  1. This sound more like an UseStaticHeaders issue rather than skinning issue. Do you get different behavior when you set Skin=""?
  2. The grid exposes GridLines property which can be altered and respected by the skin. Just tested with a few. Can you let us know which are the skins you're having problems with?
Looking forward to your reply.

Best wishes,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Bill O'Neil
Top achievements
Rank 1
answered on 02 Apr 2008, 02:17 PM
Strange!

As an example I set the Skin="Telerik" and I find that setting GridLines to none still results in border lines are each cell and setting HeaderStyle HorizontalAlign to Center results in left aligned headers.

I am using the latest version of the Prometheus controls (downloaded 2 days ago onto a new laptop.)
0
Konstantin Petkov
Telerik team
answered on 02 Apr 2008, 02:53 PM
Hi Bill O'Neil,

I would suggest you download the latest "Futures" build we have uploaded last week. Please, also make sure you have updated your project with the respective .dll. You can verify that browsing in your Bin folder through windows explorer and look at the .dll file properties.

Greetings,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Bill O'Neil
Top achievements
Rank 1
answered on 02 Apr 2008, 04:01 PM
With the FUTURES release the Horizontal Align works great for the headers.

GridLines still has no effect - I have to set BorderWidth=0 for all ItemStyle elements to get the desired effect.  Just a hunch but it seems like the CSS sets the border at the TD level while the GridLines property affects the TABLE or TR element(s) (and is therefore overridden by the TD style.)

Bill
Tags
Grid
Asked by
Bill O'Neil
Top achievements
Rank 1
Answers by
Steve
Telerik team
Bill O'Neil
Top achievements
Rank 1
Konstantin Petkov
Telerik team
Share this question
or