标签:kendo-ui
-
如何使用远程数据将超链接配置到Kendo UI TreeView中? - c#
这是我的树状视图: function CreateNotificationTree(UserId) { var data = new kendo.data.HierarchicalDataSource({ transport: { read: { url: "../api/notifications/byuserid/" + UserId […]
-
如何禁用自定义图例剑道图 - javascript
使用Kendo MVC Kendo图表。我想禁用图表图例。看起来像这样: : 我不想显示图表的左侧,所以如何消失此图例?我试图将对错定为真,但我失败了很多次。 @(Html.Kendo().Chart(Model) .Name("chart") .Title(title => title .Align(ChartTextAlignm […]
-
需要帮助将Kendo TreeView绑定到本地数据源 - c#
我正在尝试使用Kendo TreeView,但绝对没有运气绑定到本地数据源。我有一个简单的asp.net Web表单页面,我复制并粘贴了在线演示中的代码,但是我什么也做不了。有任何想法吗? <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="serv […]
-
如何正确地将C#对象列表解析为Javascript。仅显示类似“ System.Collections.Generic.List`1”的类型 - javascript
我真的无法解决这个问题,我有这个课程的清单 public class StandardText { public string Id { get; set; } public string Value { get; set; } } 然后,我想在javascript中使用它,将模型传递给partialView。问题是我似乎无法使用它。我试图对javascri […]
-
Kendo Grid hasChanges,如何处理只读网格? - javascript
我目前想遍历每个Kendo网格,并在有未决更改的情况下警告用户。为此,我使用方法hasChanges()(我使用批处理编辑): $(".k-grid").each(function () { if ($(this).data('kendoGrid').dataSource.hasChanges()) { //Warn […]
-
Kendo DropdownList从模型设置值 - c#
这是我的实体编辑页面代码, @(Html.Kendo().DropDownListFor(x => x.ParentCategoryId).Name("ParentCategoryId").HtmlAttributes(new { style = "width:300px;" }).DataTextField(& […]