Approved
Last Updated: 12 Nov 2019 13:06 by ADMIN

The "CreateDataSourceResult" function verifies if the given DataSourceRequest "Sorts" list is empty and if the IQueryable provider is Entity Framework. If both are true, it adds a default OrderBy to the query on the first sortable property. This makes sense as EF must be ordered before skipping items.

The following statement checks the given DataSourceRequest and IQueryable:

if (!sort.Any() && queryable.Provider.IsEntityFrameworkProvider())

{...}

This leads to unwanted behavior if the query is already sorted on the server and the corresponding SortDescriptor is removed from the "Sorts" list. This is needed if we want to sort on a viewmodel property that doesn't exist on the EF model.

An additional check should be done on IQueryable to see if it is already ordered to avoid replacing the existing OrderBy with a default one.

if (!sort.Any() && queryable.Provider.IsEntityFrameworkProvider() && queryable.Expression.Type != typeof(IOrderedQueryable<TModel>))
{...}

 

 

 

Approved
Last Updated: 11 Nov 2019 18:59 by ADMIN
Created by: Narendra
Comments: 2
Category: PDFViewer
Type: Feature Request
1
Can you implement a scrollbar for the PDF viewer control? The current scrolling doesn't allow the user to grab the scrollbar and do the scrolling.
Pending Review
Last Updated: 11 Nov 2019 10:32 by ADMIN
Created by: Peter
Comments: 1
Category: Window
Type: Bug Report
0

Hello,

I'd like to report a problem with the window component. It's only related to Google Chrome and occurred after the last Chrome update. Windows and Mac alike.

When dragging a non-modal window it does not move smoothly, but in a jerking manner. There is no problem with modal windows.

I've enclosed a screen video. The first windows is moving perfectly, the second erratically. Of course, this is not a major issue, but the client still complains.

This is the configuration. .Draggable(true) does not change the behavior.
@(Html.Kendo().Window()
      .Deferred()
      .Name("insert-products-window")
      .Title("Placering produktdokument")
      .LoadContentFrom("LoadInsertProductsDialog", "Catalog")
      .Events(e => e.Error("utilities.handleWindowError"))
      .Events(e => e.Close("insertProducts.onClose"))
      .Events(e => e.Activate("insertProducts.wireToolbarEvents"))
      .HtmlAttributes(new {style = "padding: 0;"})
      .Scrollable(false)
      .Draggable(d => d.Containment(Model.IsPhone ? "" : ".body-content"))
      .Modal(false)
      .Width(Model.IsPhone ? 0 : 700)
      .Height(Model.IsPhone ? 0 : 450)
      .Resizable(r => r.MinWidth(300))
      .Resizable(r => r.MinHeight(260))
      .Visible(false)
      .Actions(a => a.Custom("help").Minimize().Close())
      )

Pending Review
Last Updated: 11 Nov 2019 09:30 by ADMIN

add a grid to a view

open the view with data bound to the grid.

First line of data is not selected.

 

Now i have to program the ondatabound property for a function which belongs to the grid component. Make it configurable for grids which do not need this feature or vice versa.

Completed
Last Updated: 11 Nov 2019 07:54 by ADMIN
Release 2019.R3.SP.next
Created by: Ikbum Kim
Comments: 1
Category: Grid
Type: Bug Report
0

When I use lock column, margin is created in the right scroll of the grid. Did you know this problem?
How can I fix this problem? 

 

 

Planned
Last Updated: 08 Nov 2019 13:19 by ADMIN

Bug report

The ComboBox doesn't reset its default state when removing the selected items with Ctrl+A && pressing the Delete/Backspace button.

This bug is a regression from the 2018 R3 version.

Reproduction of the problem

  1. Open this Dojo project
  2. Select the ComboBox and enter "Hanari Carnes", then select the first element
  3. Clear the value of a field in one step (press Ctrl+A then Delete/Backspace button). The dropdown of the ComboBox will open.
  4. Select the first element in the list - "Vins et alcools Chevalier".
  5. The dropdown closes and no item is selected

Current behavior

When selecting the first element in the list, the Combobox closes without adding a value to the ComboBox input.

Expected/desired behavior

When the "Vins et alcools Chevalier" value is selected , the value should be added in the ComboBox input and the dropdown should close.
Here is a Dojo demonstrating the correct behavior.

Environment

  • Kendo UI version: 2019.3.1023
  • jQuery version: x.y
  • Browser: [all]
Approved
Last Updated: 07 Nov 2019 18:49 by Guillermo

Bug report

Using server binding does not render the NoRecords message for the Grid

Reproduction of the problem

	@(Html.Kendo().Grid(new List<Product>())    
		.Name("Grid")
		.Columns(columns => {
			columns.Bound(p => p.ProductID).Groupable(false);
			columns.Bound(p => p.ProductName);
			columns.Bound(p => p.UnitPrice);
			columns.Bound(p => p.UnitsInStock);
		})
		.NoRecords("No records found.")
		
		.Pageable()
		.Sortable()
		.Scrollable() 
		.DataSource(d=>d.Server())
		.Filterable()
		.Groupable()
	)

Workarond

A possible workaround is to use local binding by setting the AJAX binding in the DataSource, but keep the initial server binding:

	@(Html.Kendo().Grid(new List<Product>())    
		.Name("Grid")
		.Columns(columns => {
			columns.Bound(p => p.ProductID).Groupable(false);
			columns.Bound(p => p.ProductName);
			columns.Bound(p => p.UnitPrice);
			columns.Bound(p => p.UnitsInStock);
		})
		.NoRecords("No records found.")
		
		.Pageable()
		.Sortable()
		.Scrollable() 
		.DataSource(d=>d.Ajax().ServerOperation(false))
		.Filterable()
		.Groupable()
	)

Environment

  • Kendo UI version: 2017.3.1026
Pending Review
Last Updated: 06 Nov 2019 21:28 by Hanh
Created by: Hanh
Comments: 0
Category: Grid
Type: Feature Request
2

I'd like to request to be able to merge cells and column filters with the built-in API for the Kendo UI Grid.

Approved
Last Updated: 06 Nov 2019 11:40 by ADMIN
Created by: Bryan Patrick
Comments: 1
Category: Spreadsheet
Type: Feature Request
1

 

When using the URL feature of the spreadsheet it seems to use "_blank" as the target (opens in a new window).

 

My spreadsheet is in a single page application with some javascript already loaded.

I'd like to have the url be something like "javascript:myfunction('test');" which works well even with an a tag "<a href='javascript...'>"

I do this quite a lot with templates on the Grid control.

Not asking for templates on the spreadsheet, just let us specify the target and/or use local javascript functions in an "a href";

 

Approved
Last Updated: 04 Nov 2019 15:06 by ADMIN

Bug report
Open a pdf file with links in PDF Viewer. Links are not clickable.

Reproduction of the problem
Open the demo for the PDF Viewer
Open a file, containing links
Click on a link

Current behavior
Clicking on a link does not redirect to the page

Expected/desired behavior
Clicking on a link should redirect to the link.

Environment
Kendo UI version: 2019.3.1023

Browser: [all]

Pending Review
Last Updated: 02 Nov 2019 08:25 by n/a
Created by: Victor
Comments: 4
Category: UI for ASP.NET MVC
Type: Feature Request
10
The Grid should allow switching between case sensitive and case insensitive filtering.
In Development
Last Updated: 29 Oct 2019 16:08 by ADMIN
Scheduled for 2019.R3.SP.next

Bug report

If the CurrentTimeMarker is enabled (it is by default), the resources are grouped, and events with different resource values (about 70) are loaded for the current day, a significant performance deterioration is observed.
With the CurrentTimeMaker disabled or the events loaded for a date different than today (past or future) the performance issue is not exhibited.

Reproduction of the problem

MVCSchedulerCurrentTimeMarker.zip

  1. Run the attached sample project.

Current behavior

No exceptions are thrown, but the Scheduler becomes unresponsive.

Expected/desired behavior

There should be no performance hit, regardless of CurrentTimeMarker being enabled/disabled.

Environment

  • Kendo UI version: 2019.3.917
  • jQuery version: x.y
  • Browser: [all]
Approved
Last Updated: 28 Oct 2019 13:42 by ADMIN
Created by: Abdullateef
Comments: 0
Category: TreeView
Type: Bug Report
0

When the Kendo UI TreeView (DropDownTree as well) is nested inside a template and the Checkboxes(true) property is set, Invalid Template error is thrown. 

For instance:

<script type="text/x-kendo-template" id="template">
        @(Html.Kendo().TreeView()
        .Name("treeview")
        .Checkboxes(true)
        .Items(treeview =>
        {
            treeview.Add().Text("My Web Site")
                .SpriteCssClasses("folder")
                .Expanded(true)
                .Checked(true)
                .Items(root =>
                {
                    root.Add().Text("images")
                        .Expanded(true)
                        .SpriteCssClasses("folder")
                        .Items(images =>
                        {
                            images.Add().Text("logo.png")
                                .SpriteCssClasses("image");

                            images.Add().Text("body-back.png")
                                .SpriteCssClasses("image");

                            images.Add().Text("my-photo.jpg")
                                .SpriteCssClasses("image");
                        });

                    root.Add().Text("resources")
                        .Expanded(true)
                        .SpriteCssClasses("folder")
                        .Items(resources =>
                        {
                            resources.Add().Text("pdf")
                                .Expanded(true)
                                .SpriteCssClasses("folder")
                                .Items(pdf =>
                                {
                                    pdf.Add().Text("brochure.pdf")
                                        .SpriteCssClasses("pdf");

                                    pdf.Add().Text("prices.pdf")
                                        .SpriteCssClasses("pdf");
                                });
                        });
                });
        }).ToClientTemplate()
    )
</script>

 

    function showDetails(e) {
        e.preventDefault();
        var detailsTemplate = kendo.template($("#template").html());
        var dataItem = this.dataItem($(e.currentTarget).closest("tr"));
        var wnd = $("#Details").data("kendoWindow");
        wnd.content(detailsTemplate(dataItem));
        $("#SendArtifactId").val(dataItem.ArtifactId);
        wnd.center().open();
    }

Approved
Last Updated: 28 Oct 2019 12:13 by ADMIN
Created by: Peter
Comments: 1
Category: Date/Time Pickers
Type: Feature Request
0

Please consider enhancing your TimePicker to something like the following:

The picker shows AM and PM at the same time, and quickly allows you to select in 15 minute increments. 

Approved
Last Updated: 24 Oct 2019 12:16 by ADMIN
Created by: Nouman
Comments: 2
Category: ListBox
Type: Feature Request
27
Although that the ListBox is similar to the MultiSelect, at the moment it does not have such model binding, because it is also comparable with the data management widgets and for the initial release of the ListBox our developers decided to consider the model binding only if there is demand for it. With that in mind, you could create a feature request in our public portal for that feature: 

http://www.telerik.com/forums/listbox-bind-to-model-view
Approved
Last Updated: 23 Oct 2019 14:29 by ADMIN
Bug report
Telerik UI for ASP.NET MVC version for the Editor's ImageBrowser CRUD methods does not support the method Data(string handler) in order to send additional parameters. This is supported for Kendo UI for JQuery:
https://docs.telerik.com/kendo-ui/api/javascript/ui/editor/configuration/imagebrowser

Reproduction of the problem
Currently, it is not possible to pass additional data when using the Telerik UI for ASP.NET MVC HTML helpers.

Current behavior
It is not possible to pass additional data when using the Telerik UI for ASP.NET MVC HTML helpers.

Expected/desired behavior
It should be possible to pass additional data when using the Telerik UI for ASP.NET MVC HTML helpers.

Environment
Kendo UI version: 2019.3.917
Browser: [all]
Completed
Last Updated: 23 Oct 2019 08:34 by ADMIN

Hi,

I'm experiencing a bug with the kendo grid. In my project I have a rather complicated website where a kendo grid is loaded depending an multiple criteria which can be chosen by the user through dropdowns and multiselects. Luckily, I could break it down to a simple test website and the bug still is bugging around ;)

Description: Depending on the criteria chosen, the grid loads different data which reach from zero to thousands of data rows. In my example here, it's either zero or 100 data rows (depending on the dropdown, if there is either "Empty" or "Not empty" selected). The grid loads its data if you press the button ok (by calling the Load action on the server). The result is meant to be limited to paging of 25 rows (no user choice wanted)!

Heres the code for the cshtml site:

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    <div id="content">
        <div>
            @(Html.Kendo().DropDownList()
                            .Name("test_selector")
                            .DataTextField("Display")
                            .DataValueField("Value")
                            .BindTo(new List<DropDownVM>() {
                                            new DropDownVM()                                                                    {
                                                Display = "Empty",
                                                Value = "empty"
                                            },
                                            new DropDownVM()                                                                    {
                                                Display = "Not empty",
                                                Value = "notEmpty"
                                            }
                            })
            )
        </div>
        <div>
            @(Html.Kendo().Grid<MyProject.ViewModels.Test.TestItem>()
                                            .Name("grid_Test")
                                            .Columns(columns =>
                                            {
                                                columns.Bound(x => x.TestId).Title("TestId").Width(75);
                                                columns.Bound(x => x.TestName).Title("TestName").Width(75);
                                            })
                                            .Sortable()
                                            .Pageable()
                                            .DataSource(dataSource => dataSource
                                                .Ajax()
                                                .PageSize(25)
                                                .Read(read => read.Action("Load", "Test").Data("GetSelectorData"))
                                            )
                                            .AutoBind(false) //Do not load Grid data initially
            )
        </div>
        <div>
            @Html.Kendo().Button().Name("Load").Content("Load")
        </div>
    </div>
    <script type="text/javascript">
        $("#Load").on("click", function (e) {
            var grid = $("#grid_Test");
            grid.data("kendoGrid").dataSource.read();
        });

        function GetSelectorData() {
            var selectorData = {
                type: $('#test_selector').data("kendoDropDownList").value()
            }
            return selectorData;
        }
    </script>
</body>
</html>

And the corresponding controller:


public class TestController : BaseController
    {
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult Load([DataSourceRequest] DataSourceRequest request, string type)
        {
            List<TestItem> result = new List<TestItem>();
            if (type == "notEmpty")
            {
                for (int id = 1; id <= 100; id++)
                    result.Add(CreateTestItem(id));
            }

            request.PageSize = 25;
            return Json(result.ToDataSourceResult(request));
        }

        private TestItem CreateTestItem(int id)
        {
            TestItem result = new TestItem()
            {
                TestId = id,
                TestName = "Name" + id
            };
            return result;
        }
    }

Problem: The scenario described above works actually fine as long as the grid gets at least one data row delivered as DataSourceResult (i.e., result.Count > 0 in the Load method of the controller). The request object in the controller's Load method also shows request.PageSize to be configured to 25. Also, if I choose "Empty" from the dropdown and press the Load-button, the request in the controller will show PageSize = 25. But if I switch the selector to "Not empty" afterwards and press Load, the request will show PageSize = 0! This results in the grid not being paged at all and showing all results on a single page (which leads to serious connectivity problems in my productive project as soon as there are several thousands of data rows).

I tried a quick workaround in the Load method of the controller by setting the PageSize manually back to 25 (which is not wanted of course, but would actually work for me at the moment):


public ActionResult Load([DataSourceRequest] DataSourceRequest request, string type)
        {
            List<TestItem> result = new List<TestItem>();
            if (type == "notEmpty")
            {
                for (int id = 1; id <= 100; id++)
                    result.Add(CreateTestItem(id));
            }

            request.PageSize = 25;
            return Json(result.ToDataSourceResult(request));
        }

Unfortunately, this doesn't work either. The paging will be back on again and there will be only 25 data rows loaded in the grid but there is only one single page no matter how many data rows are loaded (see attached screenshot).

Do you know about this? Unfortunately I couldn't find any help for this problem so far.

Greetings!

Completed
Last Updated: 22 Oct 2019 12:21 by ADMIN
Created by: Kornelius
Comments: 1
Category: MultiSelect
Type: Bug Report
1
  • Regression report
    Introduced in 2019.2.514.

Current behavior

margin-left causes selected items on second + rows in the MultiSelect to appear unaligned to the items in the first row.

Expected behavior

Reproduction

Dojo example.

What is the motivation or use case for changing the behavior?

Regression

Environment

  • Kendo Ui for jQuery

Browser:

  • Chrome (desktop) version XX
  • Firefox version XX
  • Edge version XX
Approved
Last Updated: 18 Oct 2019 09:17 by ADMIN
Created by: Peter
Comments: 2
Category: UI for ASP.NET MVC
Type: Feature Request
0
The Readonly() property is only available for the Switch control.  Please make available the Readonly() property for the TextBox, ComboBox, DropDownList and MultiSelect as well.
Approved
Last Updated: 16 Oct 2019 15:23 by ADMIN

Bug report

An occurrence can be deleted from the "x" button in the event's top right corner, but when it is edited a "Delete" button is not displayed in the editor.

Reproduction of the problem

Reproducible in the demos and also with editRecurringMode: "occurrence" (dojo example).

Current behavior

Delete button is not displayed.

Expected/desired behavior

Delete button is displayed.

Environment

  • Kendo UI version: 2019.3.917
  • jQuery version: x.y
  • Browser: [all]
1 2 3 4 5 6