Hello,
I require the following features and I'm wondering if they are supported in some way:
1) Is it somehow possible to ask for a confirmation from before saving records to the database? Like: "This will save your changes to the database. Are you sure?"
2) Does batch editing support dropdown boxes (like in Kendo UI for other platforms)?
3) Is it somehow possible to detect changes in the grid (a.k.a. dirty check)? I want to warn user when they have unsaved changes and want to leave the page.
Thanks!!
@(Html.Kendo().ComboBoxFor(m => m.DeviceId)
.HtmlAttributes(new { required = "required", data_required_msg = "请选择装置名称", style = "padding: 0px;width:562px" })
.DataTextField("DeviceName")
.DataValueField("Id")
.HtmlAttributes(new { style = "width: 100%;" })
.DataSource(source =>
{
source.Read(read =>
{
read.Action("GetOrganizeDeviceNameList", "OrganizeDevice", new { Id = Model.Id, InspectionCycleId = Model.InspectionCycleId });
})
.ServerFiltering(true);
})
.Filter(FilterType.Contains)
.CascadeFromField("DeviceName")
.Suggest(true)
.Height(300)
.Events(eve =>
{
eve.Change("initListData");
eve.DataBound("Gridchange");
})
.HeaderTemplate("<ul class='table2' width='100%' >" +
"<li class='name1'>DeviceCode</li>" +
"<li class='name2'>DeviceName</li>" +
"<li class='name3'>Scale</li>" +
"</ul>")
.Template("<ul class='table2\'width='100%' >" +
"<li class='name1'>#: data.DeviceCode #</li>" +
"<li class='name2'>#: data.DeviceName #</li>" +
"<li class='name3'>#: data.Scale #</li>" +
"</ul>")
.FooterTemplate("")
)
The comboBox control sets the Template and HeaderTemplate templates to trigger the Change and Select events twice
Plase Help Me

Upgraded to 2.0 and now getting this error.
Could not load type 'Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderResultExtensions' from assembly 'Microsoft.AspNetCore.Mvc.Core
{
"level": 0,
"method": "Kendo.Mvc.UI.DataSourceRequestModelBinder.TryGetValue",
"assembly": "Kendo.Mvc, Version=2017.2.621.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
},
{
"level": 1,
"method": "Kendo.Mvc.UI.DataSourceRequestModelBinder.CreateDataSourceRequest",
"assembly": "Kendo.Mvc, Version=2017.2.621.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
},
{
"level": 2,
"method": "Kendo.Mvc.UI.Grid`1.ProcessDataSource",
"assembly": "Kendo.Mvc, Version=2017.2.621.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
},
{
"level": 3,
"method": "Kendo.Mvc.UI.Grid`1.ProcessSettings",
"assembly": "Kendo.Mvc, Version=2017.2.621.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
},
{
"level": 4,
"method": "Kendo.Mvc.UI.WidgetBase.RenderHtml",
"assembly": "Kendo.Mvc, Version=2017.2.621.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
},
{
"level": 5,
"method": "Kendo.Mvc.UI.WidgetBase.ToHtmlString",
"assembly": "Kendo.Mvc, Version=2017.2.621.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
},
{
"level": 6,
"method": "Kendo.Mvc.UI.Fluent.WidgetBuilderBase`2.WriteTo",
"assembly": "Kendo.Mvc, Version=2017.2.621.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
}


Hi guys,
I am use in .net core 2.0 project, and use the internal version 2017.2.823, but I find a problem is the culture setting is not work. I want to use the chinese culture and messages.
In _Layout.chtml I include the kendo js files and style files like this:
<script src="~/lib/kendo-ui/js/kendo.all.min.js"></script>
<script src="~/lib/kendo-ui/js/cultures/kendo.culture.zh-CN.min.js"></script>
<script src="~/lib/kendo-ui/js/kendo.aspnetmvc.min.js"></script>
<script type="text/javascript">
kendo.culture("zh-CN");
</script>
Please help me, thanks.
Regards
Train

How do I prevent content in my Grid cells from wrapping when the text in the cell i too long?
See attached image.
Hi,
I want to remove some filter menu options, but for ASP.NET core gird it didnt' work at all. Even your sample is buggy http://demos.telerik.com/aspnet-core/grid/filter-menu-customization. When I switch to pure JS smaple it will work properly.