<script type="text/x-kendo-tmpl" id="CompanyTemplateEdit"> ...
...
<dt>State</dt>
<dd> <input id="ddlState${CompanyID}" data-bind="value:State" name="State" /> #renderDDLStates(data)# </dd> <dt>Postal Code</dt> <dd> <input type="text" data-bind="value:PostalCode" name="PostalCode" required="required" validationMessage="required" /> <span data-for="PostalCode" class="k-invalid-msg"></span> </dd> </dl> </div> </script>
$(document).ready(function () { listView.kendoListView({ dataSource: CompanySource, template: kendo.template($("#CompanyTemplate").html()), editTemplate: kendo.template($("#CompanyTemplateEdit").html()) }).data("kendoListView"); }); var listView = $("#company_list"); var CompanySource = new kendo.data.DataSource({ transport: { read: { url: "/api/Company/" + $.cookie("C1AuthCompanyID"), }, update: { url: "/api/Company/" + $.cookie("C1AuthCompanyID"), type: "PUT", } }, schema: { model: { id: "CompanyID", fields: { CompanyID: { editable: false, nullable: true }, ParticipantID: { type: "number" }, CompanyName: "CompanyName", DBA: "DBA", CompanyNumber: "CompanyNumber", Street1: "Street1", Street2: "Street2", City: "City", State: "State", PostalCode: "PostalCode", isApproved: { type: "boolean" }, isActive: { type: "boolean" }, isDeleted: { type: "boolean" } } } } }); function renderDDLStates(data) { $("#ddlState" + data.CompanyID).kendoDropDownList({ dataTextField: "stateName", dataValueField: "stateCode", dataSource: [ { stateName: "Texas", stateCode: "TX" }, { stateName: "Pennsylvania", stateCode: "PA" } ] }); }Hello,
When I set the url of the async to a cross domain site (Amazon S3 Bucket) and set autoupload to false, the upload button won't show up after selecting files.
Hello,
how i do to set kendo ui date picker with number value (timeStamp) for example, k-ng-model="1477051763928".
it returns an error: TypeError: e.indexOf is not a function
at ve.parseDate (http://127.0.0.1:8081/js/libs/telerik.kendoui/js/kendo.all.min.js:9:18925)
at init._update (http://127.0.0.1:8081/js/libs/telerik.kendoui/js/kendo.all.min.js:22:10140)
at init.value (http://127.0.0.1:8081/js/libs/telerik.kendoui/js/kendo.all.min.js:22:8916)
at Object.<anonymous> (http://127.0.0.1:8081/js/libs/telerik.kendoui/js/kendo.all.min.js:66:1007)
at init.n.(anonymous function) (http://127.0.0.1:8081/js/libs/telerik.kendoui/js/kendo.all.min.js:65:29859)
at Object.d [as fn] (http://127.0.0.1:8081/js/libs/telerik.kendoui/js/kendo.all.min.js:65:26937)
at n.$digest (http://127.0.0.1:8081/js/libs/angular/angular.min.js:124:114)
at n.$apply (http://127.0.0.1:8081/js/libs/angular/angular.min.js:127:12)
at l (http://127.0.0.1:8081/js/libs/angular/angular.min.js:81:195)
at F (http://127.0.0.1:8081/js/libs/angular/angular.min.js:85:314)
Please, answer asap.
Hi, is it possible to have the Grid widget to use DataAnnotations when binding columns, in particular the DisplayFormat attribute and the the Display(ShortName) property?
I know that the GridBoundColumnBuilder has a Format method, but it would be better to avoid repeating information.
Also, when present, it would be preferable to use the ShortName property for the header in order to reduce column widths.
routes.MapRoute( "Default", "{controller}/{action}/{id}", new { controller = "Home", action = "Index", id = UrlParameter.Optional }, new[] { "MvcApp.Controllers" } //namespace );@(Html.Kendo().Menu() .Name("menu") .Items(menu => { menu.Add().Text("About").Action("About", "Home", new { area = "" }); }))$("#serviceTypes").kendoDropDownList({ height: 300, optionLabel: "select...", index: 0, dataValueField: "ServiceId", dataTextField: "ServiceName", dataSource: { transport: { read: { type: "POST", url: "../Services/Js/ServiceCommonService_Js.svc/GetServiceTypes" } }, schema: { data: "d" } }, change: function(e) { getSearchTerms(); } })Hi,
I was trying the MediaPlayer with playlist just like the demo here
http://demos.telerik.com/kendo-ui/mediaplayer/playlist
but I noticed that when I select another video from the list the timing and slider does not change, it keeps the duration of the first selected video
see the attached image and notice the current time exceeds the duration which is not the video actual