Telerik Forums
UI for ASP.NET Core Forum
1 answer
112 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
304 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
84 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
424 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
201 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
108 views
Can tree support this up and down line display?
Neli
Telerik team
 answered on 01 Sep 2017
2 answers
219 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
807 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
202 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
4 answers
188 views

Hello all

I`m using grid Kendo UI with filtering for Angular 2 and i want to change filter operation language from English to Germany

How can I do that in Angular 2 ?

please watch the attach file 

Arsham
Top achievements
Rank 1
 answered on 25 Aug 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?