12 Answers, 1 is accepted
Most probably the browser mode in the "Developer tools" is changed to older version of IE which doesn't support HTML5 rounded corners.
Vladimir Iliev
the Telerik team
2. so if i use IE8,the kendo ui will looking like that,with square buttons?
Regards,
Daniel
Please find the answers of your questions below:
- Basically you should force the IE compatibility mode off in IE - more information is available on various resources over the internet. For example you can check this forum post.
- KendoUI is using Progressive enhancement techniques and therefor when the browser doesn't support rounded corners it will nicely degrade to square buttons.
Vladimir Iliev
the Telerik team
Also i would like to ask you,
1. can i put on elements a custom class something like .HtmlAttributes(new {@class="my class"}) ?
2. i noticed that the icons used on grid depending on themes,are a single spark.png file,but is there images for bigger icons? can i make the icons bigger?
because it seems that the icons are too small maybe as 16X16 pixels,and it would be nice the same icons in that png file to be also at 24X24 or 32X32 pixels dimension.
Regards,
Daniel
Please find the answers of your questions below:
- Basically you can add such class, however I would suggest to open a new support ticket with more details about to what element exactly you need to add such class.
- Currently only 16X16 pixels icons are available - I would suggest to share your idea about bigger icons in Kendo UserVoice to allow other users vote of it. Most voted ideas are included in next KendoUI releases.
Vladimir Iliev
the Telerik team
2.it would be nice to include not just the most voted,if it is possible and is easy to add,include more features.
Regards,
Daniel
In general you can use such declaration, however could you please clarify what exactly do you mean with "elements" - grid cells, records or something else?
Vladimir Iliev
the Telerik team
something like that,but i put this in a separate ticket,but an answer anywhere i would appreciate.
And the class where do i have to put it,in a external .css or even inside the page with <style></style> because i tried already this,and doesn't see that class.
Regards,
Daniel
My colleague Iliana already answered to this question in another forum post - #680797. For convenience I included her response to the current thread also:
I am afraid there is an issue in the current version of Kendo UI Grid for ASP.NET MVC and it is not possible to set a class to the button. The developers are currently working on the problem and will do their best to provide a fix as soon as possible. Please excuse us for the inconvenience caused.
Vladimir Iliev
the Telerik team
i also red something somewhere about using about using jquery and manipulate the k-grid-name_of_command...
Regards,
Daniel
The post is from 10 April - that why fix is not included in 2013 Q1 official release, however you can expect it in next internal builds.
Also current approach to use the generated class based on the command name is valid.
Vladimir Iliev
the Telerik team