13 Jun 2012
(Link to this post)
Hello,
I'm quite new to Kendo, and I bumped into a difficulty figuring out what is the best way to work with Kendo styles for the simple controls (button, textbox, checkbox, etc..)
Button was quite simple, cause adding the k-button class did all the work, but what about other controls?
I took a look at the source of the theme builder page, and I saw that for some controls more than one class is used..
I wonder whether adding the k-... class for each control is the best practice for simple controls, or am I missing something?
For example, if I want to have a textbox that has its style changing on hover, do I have to add a JavaScript code that adds the k-state-hover class to that element? Or is there any other way to do that?
What are the best practices in the simple UI controls?
Any help will be appreciated.
Irit.