Telerik Forums
UI for ASP.NET Core Forum
1 answer
167 views

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!!

Alex Hajigeorgieva
Telerik team
 answered on 06 Sep 2017
1 answer
122 views

 @(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

Neli
Telerik team
 answered on 05 Sep 2017
2 answers
319 views
Multiple Selection:DropDownBox with embedded TreeView  、DropDownBox with embedded DataGrid
Single Selection  :DropDownBox with embedded TreeView  、DropDownBox with embedded DataGrid
ghd258 ghd258
Top achievements
Rank 1
 answered on 05 Sep 2017
0 answers
100 views
Good morning. I have next problem. When I moving window, which was opened inside parent window and for moving window is set parameter RestrictionZoneID. When I move this window to edge of parent window and move the mouse pointer further and release mouse button there. Then I move mouse pointer to moving window back with released mouse button already, moving window continues to move with mouse button. I hope You have understend me, because I speak english not very well
Владимир
Top achievements
Rank 1
 asked on 04 Sep 2017
15 answers
524 views

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"
            }

Marcel
Top achievements
Rank 1
 answered on 04 Sep 2017
4 answers
219 views
Combo box supports multiple columns and combo box customization, as shown in Figure effects
Neli
Telerik team
 answered on 01 Sep 2017
5 answers
116 views
Can tree support this up and down line display?
Neli
Telerik team
 answered on 01 Sep 2017
2 answers
231 views

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

 

Stefan
Telerik team
 answered on 29 Aug 2017
1 answer
827 views

How do I prevent content in my Grid cells from wrapping when the text in the cell i too long?

See attached image.

Orlin
Telerik team
 answered on 29 Aug 2017
1 answer
223 views

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.

 

Alex Hajigeorgieva
Telerik team
 answered on 28 Aug 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?