Hi.
I want to add to button Bootstrap class='btn btn-primary', but whatever I tried it didn't help.
I tried this:
nothing help, then I tried use templates:
and use template function, but no result.
What I'm doing wrong?
Thanks in advance.
I want to add to button Bootstrap class='btn btn-primary', but whatever I tried it didn't help.
I tried this:
$(
".k-button.k-upload-button"
).addClass(
"btn btn-primary"
);
<
input
name
=
"files"
id
=
"files"
type
=
"file"
/>
<
script
id
=
"fileTemplate"
type
=
"text/x-kendo-template"
>
<
div
>
<
button
type
=
'button'
class
=
'btn btn-primary'
></
button
>
</
div
>
</
script
>
and use template function, but no result.
What I'm doing wrong?
Thanks in advance.