or
<div data-role="view" data-after-show="aftershow"> <div data-role="header"> <div data-role="navbar"> //nav stuff in here </div> </div> <p>Hi</p> <div id="window"> Content of the Window </div> <script> $("#window").kendoWindow(); </script></div>function createGauges(conveyanceId) { $("#depthBar-" + conveyanceId).kendoLinearGauge({ pointer: { value: 0, shape: "arrow", color: "transparent", start: 0, reverse: true }, scale: { majorUnit: 500, minorUnit: 100, labels: { visible: false }, min: -2000, max: 2000, vertical: false, reverse: false, ranges: [ { from: -2000, // LimitLo to: -1500, color: "#ffc700" }, { from: 2000, // LimitHi to: 1500, color: "#ffc700" }, { from: 2000, // LimitHiHi to: 1800, color: "#c20000" }, { from: -5000, to: -1800, color: "#c20000" // LimitLoLo }, { from: 0, to: 0, color: "lightblue" } ] } });$('#depthBar-' + conveyanceId).data("kendoLinearGauge").options.scale.ranges[4].to = depthMessage;Hi, I have Kendo with Visual Studio 2012, MVC 3 and IE 8. The upload functionality is not working as expected. See the attached image. The upload control is used in a partial view which is showed as a pop up, and when I select a file to upload, this file is uploaded twice. Could you give me a clue to correct this behavior ?
Thanks !!
@(Html.Kendo().Upload() .Name("files") .Multiple(true) .Events(e => e .Select("onUploadFileSelect") .Upload("onUpload") .Remove("onRemove") ) .Messages(config => config.Select(Html.RawLocalized(GlobalMessageKeys.Browse).ToString())) .Async(a => a .Save("SaveData", "ManageBuilding") .Remove("RemoveData", "ManageBuilding") ) )1.fields:2. {3. title: { type: "string", from: "Title" },sort: [{ field: "title", dir: "desc"}],parameterMap: function (parameters, type) { var params = kendo.data.transports["odata"].parameterMap(parameters, type); if (type == "read") { params.format = "json"; params.$expand = allOptions.expand.join(','); params.$select = allOptions.select.join(','); params.page = parameters.page; params.skip = parameters.skip; params.take = parameters.take; params.pageSize = parameters.pageSize; } return params; }