I am using the latest kendoui internal build (2013.2.808.340) in order fix some other issues I am having with the current release build.
I have found that when using the MVC wrappers and setting the the class attribute via .HTMLAtrributes on commands in the grid kendo no longer renders the button with the correct class.
Example:
Resulting rendered HTML no longer has the class "btn":
I have found that when using the MVC wrappers and setting the the class attribute via .HTMLAtrributes on commands in the grid kendo no longer renders the button with the correct class.
Example:
c.Command(command =>
{
command.Edit().HtmlAttributes(
new
{ @
class
=
"btn"
}).UpdateText(
"Save"
);
command.Destroy().HtmlAttributes(
new
{ @
class
=
"btn"
});
});
Resulting rendered HTML no longer has the class "btn":
<
a
class
=
"k-button k-button-icontext k-grid-edit"
href
=
"#"
>