Hello,
I'm finding that the proper styling is not being applies(or it is being applied in the wrong order) when a control is in error in MVC.
Using the default Kendo UI MVC project out of VS2012, a control like so:
Does not get styled with a pink background, red border and instead retains the default styling.
The styling defined in the default Kendo Site.css(line 256):
but it is just overridden by the default styling(from the theme css) instead of the error styling taking precedence.
If I remove the "k-textbox" class, then the background-color works, but the red border is still not in effect because it is overridden by the CSS on line 164 of Site.css:
Is it possible to get the provided error styles to take precedence over the non-error styles?
It does not work out-of-the-box.
Thanks.
I'm finding that the proper styling is not being applies(or it is being applied in the wrong order) when a control is in error in MVC.
Using the default Kendo UI MVC project out of VS2012, a control like so:
<
input
class
=
"k-textbox input-validation-error"
id
=
"textBox"
name
=
"textBox"
type
=
"text"
value
=
""
>
The styling defined in the default Kendo Site.css(line 256):
.input-validation-error
{
border: 1px solid #ff0000;
background-color: #ffeeee;
}
If I remove the "k-textbox" class, then the background-color works, but the red border is still not in effect because it is overridden by the CSS on line 164 of Site.css:
input[type="text"]
{
width: 200px;
border: 1px solid #CCC;
}
Is it possible to get the provided error styles to take precedence over the non-error styles?
It does not work out-of-the-box.
Thanks.