$(
"#divGrid"
).data(
"kendoGrid"
).table[0].rows[0].
cells[0].children.ARadio;
$(
"#divGrid"
).kendoGrid({
dataSource: { data: ds, pageSize: 5 }
, pageable: { input:
true
, numeric:
false
}
, selectable:
true
, sortable:
true
, scrollable:
false
, columns: [{ title:
"A"
, template:
'<input type="checkbox" id="ARadio" ARadio="#= RequestId #"/>'
},
{ title:
"Requestor Name"
, field:
"RequestorName"
, template:
'<nobr><label style="width:120px;">#=RequestorName#</label></nobr>'
, width: 150 },
{ title:
"Request Type"
, field:
"RequestType"
},
{ title:
"Business Group"
, field:
"BusinessSilo"
, template:
'<nobr><label style="width:120px;">#=BusinessSilo#</label></nobr>'
, width: 120 },
{ title:
"Access Level"
, field:
"AccessLevel"
},
{ title:
"Access Justification"
, field:
"AccessJustification"
, template:
'<nobr><label style="width:120px;">#=AccessJustification#</label></nobr>'
, width: 150 },
{ title:
"Date Requested"
, field:
"DateRequested"
},
{ title:
"Date of Expiry"
, field:
"ExpirationDate"
}]
});
How can I remove "items per page" Label using PageSizes?
@(Html.Kendo().Grid<Model>(.Name("Grid")
.Columns(columns =>
{
columns.Bound(p => p.DataId).Visible(false);
columns.Bound(p => p.Data2).Width(200).Title("Data2");
columns.Bound(p => p.Data3).Width(200).Title("Data3");
columns.Bound(p => p.Data4).Width(100).Title("Data4");
columns.Bound(p => p.IsTrue).Width(50)
.HtmlAttributes(new {style = "text-align:center"})
.ClientTemplate("<input type='checkbox' disabled='disabled' name='Discontinued' <#= IsTrue? \"checked='checked'\" : \"\" #> ").Title("IsTrue");
})
.Pageable(paging => paging
.Input(false)
.Numeric(true)
.Info(false)
.PreviousNext(true)
.PageSizes(new int[]{25, 50,100})
.Refresh(false)
)
.DataSource(dataBinding => dataBinding.Ajax().PageSize(25).Read("GridData", "Grid", new { someId = Model.SomeId }))
.Resizable(resize => resize.Columns(true)).Scrollable()
)
Access is denied.
kendo.upload.js?t=634716582040000000, line 1032 character 17
if
(!upload.trigger(UPLOAD, e)) {
upload._hideUploadButton();
iframe.appendTo(document.body);
var
form = iframe.data(
"form"
)
.appendTo(document.body);
e.data = $.extend({ }, e.data, getAntiForgeryTokens());
for
(
var
key
in
e.data) {
var
dataInput = form.find(
"input[name='"
+ key +
"']"
);
if
(dataInput.length == 0) {
dataInput = $(
"<input>"
, { type:
"hidden"
, name: key })
.appendTo(form);
}
dataInput.val(e.data[key]);
}
upload._fileAction(fileEntry, CANCEL);
upload._fileState(fileEntry,
"uploading"
);
iframe
.one(
"load"
, $.proxy(
this
.onIframeLoad,
this
));
form[0].submit();
}
else
{
upload._removeFileEntry(iframe.data(
"file"
));
this
.cleanupFrame(iframe);
this
.unregisterFrame(iframe);
}