Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Switch only rendering checkbox

$
0
0

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:

<inputchecked="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:

<linkhref="@Url.Content("~/Content/kendo/2015.1.429/kendo.common-bootstrap.min.css")" rel="stylesheet"type="text/css"/>
    <linkhref="@Url.Content("~/Content/kendo/2015.1.429/kendo.bootstrap.min.css")" rel="stylesheet"type="text/css"/>
    <linkhref="@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(newScriptBundle("~/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"));

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>