This question is locked. New answers and comments are not allowed.
Dear Telerik,
I love the fact that you've minimized your CSS, but you've gone way too far with it. I'm becoming frustrated because of the way the styles are implemented.
Here is an example of why the way I believe you may be doing this incorrectly:
On a page I have a Tab Sheet, each page of course happens to use CSS class t-link.
In one of these tabs I have a grid that has an awful lot of information in it.... In order to make the data fit within the grid a bit better I've changed the font size to x-small and this begins my problem.
I want to change the style for just the GRID not every extension on the page!!!!!
So my first pass though was to put in a hacky CSS override to the telerik styles on just the page that requires the smaller font size in the grid. Bingo, this worked, but unfortunately the Tabs were also affected.
Next we have some custom work being done on the column headers to support the ability for multiple column headers in a single column to control sorting for hybrid values. The Office 2007 style does not underline hyperlinks, yet our custom code is using ActionLink like so:
So of course this column shows up as a normal hyperlink with an underline, where as the other native columns that use the default sort method do not... The fix should be simply to add text-decoration: underline to the t-link style, but unfortunately this is also affecting the tab sheet that grid is hosted in, frustrating and not at all desirable.
I am not pleased with how difficult styles are to manage and am hopeful that you provide ways to control styles at a finer level PER extension without affecting the others on the page.
Sure, I could put some jQuery code in to add the styles I need, or perhaps actionlink all the column headers, but I've found myself having to find work arounds for doing things, for example forcing column headers to be able to wrap. The Telerik extensions are supposed to cut development time, not extend it.
Please, re-consider how you're working with styles here because I'm finding it terribly difficult to deal with when I need super fine control over specific extensions.
Thanks,
Eric
I love the fact that you've minimized your CSS, but you've gone way too far with it. I'm becoming frustrated because of the way the styles are implemented.
Here is an example of why the way I believe you may be doing this incorrectly:
On a page I have a Tab Sheet, each page of course happens to use CSS class t-link.
In one of these tabs I have a grid that has an awful lot of information in it.... In order to make the data fit within the grid a bit better I've changed the font size to x-small and this begins my problem.
I want to change the style for just the GRID not every extension on the page!!!!!
So my first pass though was to put in a hacky CSS override to the telerik styles on just the page that requires the smaller font size in the grid. Bingo, this worked, but unfortunately the Tabs were also affected.
Next we have some custom work being done on the column headers to support the ability for multiple column headers in a single column to control sorting for hybrid values. The Office 2007 style does not underline hyperlinks, yet our custom code is using ActionLink like so:
columns.Template(model => { %> <%= model.OriginCityStateForDisplay%> <br /> <%= model.DestinationCityStateForDisplay%> <br /> <% } ).Title(Html.ActionLink("Origin", "SearchResults?orderBy=OriginCityStateForDisplay-asc").ToHtmlString() + "<br/>" + Html.ActionLink("Destination", "SearchResults?orderBy=DestinationCityStateForDisplay-asc").ToHtmlString()) .HeaderHtmlAttributes(new { @class = "customSortField" }) .Width(125); So of course this column shows up as a normal hyperlink with an underline, where as the other native columns that use the default sort method do not... The fix should be simply to add text-decoration: underline to the t-link style, but unfortunately this is also affecting the tab sheet that grid is hosted in, frustrating and not at all desirable.
I am not pleased with how difficult styles are to manage and am hopeful that you provide ways to control styles at a finer level PER extension without affecting the others on the page.
Sure, I could put some jQuery code in to add the styles I need, or perhaps actionlink all the column headers, but I've found myself having to find work arounds for doing things, for example forcing column headers to be able to wrap. The Telerik extensions are supposed to cut development time, not extend it.
Please, re-consider how you're working with styles here because I'm finding it terribly difficult to deal with when I need super fine control over specific extensions.
Thanks,
Eric