kendo-template

Kendo Grid - Detail Template - DataSource Read is not firing the controller action

二次信任 提交于 2019-12-25 09:05:31
问题 App type: ASP.NET MVC with Kendo framework Problem Encountered: The detail template is not firing the controller action method. Please find the attached screenshot also. I checked it under the firebug window also, there is no ajax call to the controller action method "PublishedImportFiles_Read" . This is making me crazy and annoying. No error is thrown or shown for this anomaly. I guess i am missing something very small. Please help. MVC - View Code <div class="gapLeft gapBelow20" style=

In a kendo grid, can I set column attributes dynamically with a function?

天涯浪子 提交于 2019-12-23 08:58:48
问题 I've got some code here where I am trying to set a background color of a cell based on the value of the data item: http://dojo.telerik.com/@solidus-flux/eHaMu <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Kendo UI Snippet</title> <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1411/styles/kendo.common.min.css"> <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1411/styles/kendo.rtl.min.css"> <link rel="stylesheet" href="http://cdn.kendostatic.com/2014

Is it possible have this code equivalent code in kendo external template

十年热恋 提交于 2019-12-12 06:45:44
问题 I have this dojo with its inline template var actionName = 'read'; $("#grid").kendoGrid({ columns: [ { field: "name" }, { field: "age" } ], dataSource: [ { name: "Jane Doe", age: 30, read: true, actionName: actionName } ], detailTemplate: "<div> #:" + actionName +"# </div>" }); and this dojo with its external template: <script id="detailTemplate" type="text/x-kendo-template"> #: actionName # </script> var actionName = 'read'; $("#grid").kendoGrid({ columns: [ { field: "name" }, { field: "age"

Why The DropDown list template of kendo ui sample for ASP.NET MVC 5 dont run right?

拥有回忆 提交于 2019-12-11 07:51:01
问题 I use dropdown template for kendo ui Grid.this example was for ASP.NET MVC but when click on the dropdown, it display ID and Name that is not dropdown. I copied and replaced the code but instead of dropdown that display Id input and Name input. the link of this example is: https://demos.telerik.com/aspnet-mvc/grid/editing-custom my editing_custom.cshtml: @using Microsoft.AspNet.Identity.EntityFramework; @using UserManagerSample.KendoDropDown.KendoDropViewModel; @using Kendo.Mvc.UI <script src

Kendo Grid: Toolbar template issue

旧街凉风 提交于 2019-12-06 03:26:24
I have a grid that lists Road information and want a Toolbar Template that will allow me to filter the roads by choosing a Concession from a DropDownList. Something like this My code: CSHTML <div id="datagrid"> @(Html.Kendo().Grid<SustIMS.Models.RoadModel>() .Name("datagrid_Roads") .Columns(columns => { columns.Bound(r => r.RoadCode).Title(ViewBag.lblCode).Width(140); columns.Bound(r => r.RoadType).Title(ViewBag.RoadType).Width(140); columns.Bound(r => r.RoadMediumDescription).Title(ViewBag.lblDescription); columns.Bound(r => r.ConcessionCode).Title("CCode").Hidden(); columns.Bound(r => r