Pending Review
Last Updated: 16 Oct 2019 10:51 by T

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!

Approved
Last Updated: 14 Oct 2019 12:15 by ADMIN
Created by: Development
Comments: 1
Category: Spreadsheet
Type: Feature Request
1

Hello,

 I've been reading through the documentation, and I wanted to reach out in case I am missing something.  In all the Kendo Spreadsheet documentation that is available, I've not seen an MVVM example provided.  Is the MVVM method available with use for the Spreadsheet widget?   I was also wondering if just syntactically I might not have the right items configured in order for the data to populate in the spreadsheet.  I can confirm at the viewmodel that my data is populated in that object, but I just can't seem to get the data to appear in the spreadsheet.  Any guidance or additional documentation would be most helpful.

 

I am setting the data-role="spreadsheet", mimicking other examples of mvvm that I've seen.  I've also set the data-bind to my dataSource (data-bind="source:spreadsheetDataSource" while also populating a dataSource object within my data-sheets property.  I wanted to verify that these are in fact supported before I continue down this road.  I would also like to understand which properties are required by default (data-columns, data-rows, data-sheets) etc...and the properties that exist within the arrays (such as data-sheets), since that also doesn't seem to be present in the documentation. 

I'd also like to point out that I am using a windows server 2016, since that option was not listed in the fields below for the ticket.  The .NET Framework is 4.5.2

 

I appreciate all assistance in this matter. 

 

 

Approved
Last Updated: 11 Oct 2019 10:21 by ADMIN
Created by: Peter
Comments: 0
Category: UI for ASP.NET MVC
Type: Feature Request
0
Unify the property used to define the string that appears in the textbox when a widget has no value. For example, currently the MultiSelect uses Placeholder(), the DropDownList - OptionLabel()
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: 11 Oct 2019 10:08 by ADMIN
Created by: Peter
Comments: 0
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]
Approved
Last Updated: 07 Oct 2019 13:58 by ADMIN
Created by: Bill
Comments: 0
Category: MultiSelect
Type: Bug Report
0

When data for the MultiSelect widget is virtualized and mapValueTo: "dataItem" option is set, the widget returns incorrect dataItem on subsequent selection.

1. Select Order 3 and submit selection. Alert displays the selected Id 3
2. Clear selection and submit. Alert displays no data.
3. Select Order 131313 and submit selection. Alert displays the selected Id 131313 
4. Clear selection and submit. Alert displays no data.
5. Select Order 24242 and submit selection. Alert displays the selected Id 131313

Approved
Last Updated: 08 Oct 2019 09:23 by ADMIN

Hello,

On MAC, command+c cut instead of copy when selected texts are in a table. To duplicate, please follow these steps.

1. Go here: https://demos.telerik.com/aspnet-mvc/editor

2. Insert a new table.

3. Add some text into the table.

4. Select texts in the table.

5. Press command+c on MAC.

 

Please advise.

Thank you.

Approved
Last Updated: 02 Oct 2019 08:56 by René Spruit

Bug report

The input field of the Combobox is being shifted when a "position: absolute" style is set on its initial element.

Reproduction of the problem

  1. Open this Dojo example
  2. Run it and see the floating "Rib Knit" text which is the input field of the Combobox

Current behavior

The input field of the Combobox is shifted when "position: absolute" style is set on its initial element.

Expected/desired behavior

When setting "position: absolute" style on ComboBox initial element the whole component should be shifted according to the set "top, bottom, left, right" parameters.

A possible workaround that could be applied in the above linked Dojo is the following one:
$("#comboboxA").getKendoComboBox().input.css("position", "static");

Here is the modified Dojo with correctly working Combobox with "position: absolute" style is set on its initial element.

Environment

  • Kendo UI version: 2019.3.917
  • jQuery version: x.y
  • Browser: [all]
Approved
Last Updated: 04 Oct 2019 12:31 by ADMIN
Scheduled for 2019.R3.SP.next
Created by: Chris
Comments: 0
Category: Spreadsheet
Type: Bug Report
0

Bug report

Regression introduced in R3 2019.

Reproduction of the problem

Open this Spreadsheet demo. Even though the Toolbar configuration is set to false, it is not hidden. This applies only for ASP.Net Core and ASP.Net MVC.

Current behavior

The Toolbar is visible when set to false.

Expected/desired behavior

The Toolbar should be hidden.

Environment

  • Kendo UI version: 2019.3.917
  • Browser: [all]
Completed
Last Updated: 10 Oct 2019 14:34 by ADMIN
Release 2019.R3.SP.next

Bug report

Regression introduced in R2 2018.

Reproduction of the problem

The mobile mode of the Scheduler must be turned off.
Reproducible in the demos.

  1. Tap, hold and try to move an event

Current behavior

The moveStart event does not fire and the event cannot be moved.

Expected/desired behavior

The moveStart event fires and the event can be moved.

Environment

  • Kendo UI version: 2019.3.917
  • jQuery version: x.y
  • Browser: [Android]
Approved
Last Updated: 26 Sep 2019 17:01 by ADMIN
Created by: Jorge Torres
Comments: 1
Category: Scheduler
Type: Feature Request
1

The Editor has an Encode option that when enabled allows Html tags to be submitted encoded.

This feature request is for a similar option in the Scheduler. A possible scenario could be an Editor nested in the Scheduler's custom editor. Currently the value of that field will be submitted not encoded regardless of the nested Editor's Encode option value. Having the option of enabling encoding of the values of the Scheduler fields would allow Html tags to be sent encoded. 

Pending Review
Last Updated: 26 Sep 2019 15:06 by ADMIN
Created by: Dave
Comments: 1
Category: Grid
Type: Feature Request
0

Hello, 

 

I think there is a bug with the DataTimeOffset field when used in a Grid. It cannot display correctly and is showing something like /Date(1364927400000)/. I have to retrieve my data from database as DateTimeOffset format and then use a new ViewModel to convert the DateTimeOffset values to DateTime values. This is really annoying.

 

Could you let me know if there is a way a DateTimeOffset field can be supported in the grid? Sometimes you do have to display the time zone info.

 

I hope this can be fixed in a future release.

 

Thanks,

Sam

Pending Review
Last Updated: 24 Sep 2019 07:14 by ADMIN
Created by: Jasmine
Comments: 1
Category: Gantt
Type: Bug Report
0

Hi,

 

I have developed an application where I am displaying records in kendo Gantt chart, Initially I want to display only title and give user the option to select start & end date.  This means that I need to pass null value for start & end date, but I could not find the option. Could you please help me with it.

Also I want to add validations for start date & end date i.e. if user does not enter start & end date an alert should be displayed specifying user to add dates.

Please let m know whether its possible or not & if possible how should I go ahead with it.

  

Approved
Last Updated: 16 Sep 2019 15:30 by ADMIN

Bug report

When we want to add a formula in a given cell in the Spreadsheet, we double-click it and enter the "=" in it as an identifier that a formula definition will follow. If we want to include in the formula a cell that is not inside the visible range of the Spreadsheet, we scroll to that cell and select it. In Internet Explorer, if we scroll to a given cell using the arrows of the Spreadsheet's scrollbar the "double-clicked" cell becomes just a selected one and the "=" sign is converted to a string value.

Reproduction of the problem

  1. Open this Dojo example in Internet Explorer 11
  2. Select the A1 cell and enter "=" in it.
  3. Press the "down" direction arrow of the Spreadsheet trying to reach cell A50.
  4. With the first click on the arrow, the A1 cell is no more "double-clicked" and the "=" inside it is converted to a string

Current behavior

When building a formula in a given cell and trying to navigate to a cell using the scrollbar, this usage stops the formula building and converts the "=" into a string.

Expected/desired behavior

When a user creates a formula for a given cell, they should be able to navigate through the Spreadsheet using its scrollbars.

Environment

  • Kendo UI version: 2019.2.619
  • jQuery version: x.y
  • Browser: IE 11.950.17134.0
Pending Review
Last Updated: 09 Sep 2019 11:36 by ADMIN
Created by: Tom
Comments: 1
Category: Scheduler
Type: Feature Request
1

This is in regards to my previous ticket #1426737. Your suggested solution did not work on closer look. The problem is that the event is turned off completely instead of only for a specific event.

Let me give you a practical example: I have a separate filter for the scheduler that allows me to look at the events for a specific resource. If someone else on a different computer now adds an event that is assigned to a different resource, it still shows up on my calendar. I want to suppress that event if it doesn't match the resource I selected in the filter. Using the taskHub.off('create') turns off the 'create' event completely (at least until the user refreshes the page). That way, new tasks added by someone for the selected resource won't show up.

I would like to subscribe to the events like this:

taskHub.client.update = onScheduleUpdate;

taskHub.client.create = onScheduleCreate;

And then in the function check if the filter applies to the task and if not, suppress it. I tried the 'preventDefault' method, but that also turns off the event completely.

functiononScheduleCreate(e) {

if(e.AssignedResource != filter.AssignedResource)

      e.preventDefault(); -- does not work, turns off this event completely

}

This is not an untypical requirement for a calendar, especially if there are hundreds of tasks and filtering is the only option to organize them in a legible way.

There has to be a way to achieve this, but I have spent already way too much time on this. I need your help.

Thanks. 

Approved
Last Updated: 09 Sep 2019 15:14 by ADMIN
Created by: Jon
Comments: 1
Category: Dialog
Type: Bug Report
0

I have a dialog defined but the "mydialog-control" CSS class never gets added to the dialog when it's rendered.  Why is that happening?

@(Html.Kendo().Dialog()
    .Name("SalesTypeWarning")
    .Title("Warning")
    .Content(warningTextContent)
    .Modal(true)
    .Closable(false)
    .Visible(false)
    .Width(600)
    .HtmlAttributes(new { @class = "mydialog-control"})
    .Actions(act =>
    {
      act.Add().Text("Continue").Primary(true).Action("allowSalesTypeChange");
      act.Add().Text("Cancel Change").Action("cancelClicked");
    })
    .Deferred(true)
)
Pending Review
Last Updated: 05 Sep 2019 15:45 by ADMIN

In the grouping demo for MultiColumnComboBox (https://demos.telerik.com/aspnet-mvc/multicolumncombobox/grouping), the first group 'Argentina' is not displayed as a black label on the right. This is inconsistent with the way other groups are displayed.

This can pose a usability issue for example when there are only two groups. The second group has a black label on the right, but the first group does not.

To be consistent, the first group should also display as a black label on the right.

Approved
Last Updated: 30 Aug 2019 11:12 by ADMIN
Created by: Vamsi Krishna
Comments: 1
Category: Spreadsheet
Type: Feature Request
0

We are looking to see whether all the cells in the formula are filled or not  for that we need all the cells information in the formula. 

 

Is there any way to get list of cells present in formula cell.

Pending Review
Last Updated: 28 Aug 2019 13:04 by ADMIN
Hi,
I have a problem with the selection in the scheduler. The selection with mouse and the shift button from e.g. 1pm to 3pm is possible but not from 3pm to 1pm.
There's no problem with a selection only by mouse (hold left mouse button and select time-slots). There's a selection in both directions possible.
The Problem occurs in UI for ASP.NET Core and UI for ASP.NET MVC.
Here's my example for my problem: https://dojo.telerik.com/UgOVEGah

Is there any solution to select time-slots from a higher to a lower time with the shift button?
1 2 3 4 5 6