or
selectable:
"multiple, cell"
,
edit:
function
(e) {
if
(e.model[e.field].readOnly) {
this
.closeCell();
}
}
bundles.Add(
new
ScriptBundle(
"~/bundles/kendo"
).Include(
"~/Scripts/kendo/kendo.all.min.js"
,
"~/Scripts/kendo/kendo.mobile.min.js"
,
"~/Scripts/kendo/kendo.aspnetmvc.min.js"
));
bundles.Add(new StyleBundle("~/Content/kendo/css").Include(
"~/Content/kendo/kendo.mobile.all.min.css",
"~/Content/kendo/kendo.common-bootstrap.min.css",
"~/Content/kendo/kendo.bootstrap.min.css"));
@Styles.Render("~/Content/css")
@Styles.Render("~/Content/kendo/css")
@Scripts.Render("~/bundles/modernizr")
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/bootstrap")
@Scripts.Render("~/bundles/kendo")
<
div
class
=
"row"
>
<
div
class
=
"col-xs-12 col-lg-8 col-centered"
style
=
"max-width:600px;"
>
<
div
data-role
=
"view"
>
@(Html.Kendo().MobileScrollView()
.Name("adRotator")
.DataSource(ds => ds.Read("GetAdRotatorImages", "Ads", new{id = Model.AdId}))
)
</
div
>
</
div
>
</
div
>
<
script
>
var app = new kendo.mobile.Application();
</
script
>