Hi, I'm trying to add the Mobile Switch to a MVC 5 Web App but it is not rendering the switch widget, just a checkbox. Using the MVC Html wrapper, the HTML rendered is:
<
input
checked
=
"checked"
data-off-label
=
"No"
data-on-label
=
"Yes"
data-role
=
"switch"
id
=
"scoring-switch"
name
=
"scoring-switch"
type
=
"checkbox"
>
The css files that are included in my layout page are:
<
link
href
=
"@Url.Content("
~/Content/kendo/2015.1.429/kendo.common-bootstrap.min.css")"
rel
=
"stylesheet"
type
=
"text/css"
/>
<
link
href
=
"@Url.Content("
~/Content/kendo/2015.1.429/kendo.bootstrap.min.css")"
rel
=
"stylesheet"
type
=
"text/css"
/>
<
link
href
=
"@Url.Content("
~/Content/kendo/2015.1.429/kendo.dataviz.bootstrap.min.css")"
rel
=
"stylesheet"
type
=
"text/css"
/>
And the js files from my bundleconfig are:
bundles.Add(
new
ScriptBundle(
"~/bundles/kendo/2015.1.429/kendoscripts"
).Include(
"~/Scripts/kendo/2015.1.429/kendo.all.min.js"
,
"~/Scripts/kendo/2015.1.429/kendo.aspnetmvc.min.js"
));