In Development
Last Updated: 29 Apr 2021 11:29 by ADMIN

Bug report

A DataSource defined using TagHelpers with disabled serverPaging sets default pageSize:

    <datasource type="DataSourceTagHelperType.Ajax" server-filtering="true" server-paging="false">
            <transport>
                <read url="@Url.Page("Index", "Read")" data="forgeryToken" />
            </transport>
            <schema data="Data">
                <model id="OrderID">
                    <fields>
                        <field name="ShipName" type="string"></field>
                    </fields>
                </model>              
            </schema>
     </datasource>

generates the following initialization script:

{"dataSource":{"page":1,"pageSize":20,"schema":{"model":{"id":"OrderID","fields":{"ShipName":{"type":"string"}}},"data":"Data","errors":"Errors","total":"Total"},"serverAggregates":true,"serverFiltering":true,"serverGrouping":true,"serverPaging":true,"serverSorting":true,"transport":{"read":{"url":"/?handler=Read","data":forgeryToken}},"type":(function(){if(kendo.data.transports['aspnetmvc-ajax']){return 'aspnetmvc-ajax';} else{throw new Error('The kendo.aspnetmvc.min.js script is not included.');}})()}

with default pageSIze set.
Initializing using jQuery works as expected:

       dataSource: {
            type: "aspnetmvc-ajax",
            serverPaging: false,
            serverFiltering:true,
            transport: {
                read: {
                    url: "@Url.Page("Index", "Read")",
                    data: forgeryToken
                }
            },
            schema: {
                model: {
                    id:"OrderID"
                },
                data: "Data",
                total:"Total"
            }
        }

Current behavior

The "page" and "pageSize" values are set, which results in only 20 items being displayed, even though more are returned by the "read" action.

Expected/desired behavior

The "page" and "pageSize" should not be set.

Environment

  • Kendo UI version: 2021.1.330
  • Browser: [all]
Completed
Last Updated: 29 Apr 2021 09:42 by ADMIN
Release 2021.R2
Created by: Vincent
Comments: 1
Category: Spreadsheet
Type: Bug Report
0
when I copy cell from other spreadsheet or current spreadsheet or excel and paste to the spreadsheet. the datasource of the speadsheet not changed!
Unplanned
Last Updated: 28 Apr 2021 14:25 by ADMIN
Created by: n/a
Comments: 0
Category: DateRangePicker
Type: Bug Report
0

Bug report

DateRangePicker close event does not catch range ent value

Reproduction of the problem
Run the following Dojo:

Select a range and check the browser console.

Expected/desired behavior
Close shall be reflected in the close event handler.

Environment
Kendo UI version: [ all ]
Browser: [ all ]

Completed
Last Updated: 28 Apr 2021 07:36 by ADMIN

Bug report

RadioGroup Validation fails always when Component is bound to Model

Reproduction of the problem

  1. Define a FormViewModel and set its data annotation to [Required]
  2. Initialize a Form and pass it the FormViewModel
  3. In the Form:
  • set up Validation
  • define an Item that uses the RadioGroup Editor
  1. Run the application choose a RadioGroup option and submit the Form

Current behavior

All the inputs of the RadioGroup Component get the data-val-required property and validation always fails

Expected/desired behavior

The RadioGroup's Validation should succeed, if one of the options is selected

Environment

  • Kendo UI version: 2021.1.330
  • Browser: [all ]
Unplanned
Last Updated: 23 Apr 2021 06:20 by ADMIN

Hi folks!

I am using the Grid's ColumnMenu with its new ComponentType-property set to "modern" like this:

@(Html.Kendo().Grid<my_fancy_web_application.ViewModels.ProjectListViewModel>()

                .Name("myGrid")
                .Editable(editable => editable.Mode(GridEditMode.InLine).DisplayDeleteConfirmation("Willst Du diesen Eintrag wirklich löschen?"))
                .Sortable()
                .Scrollable()                
                .Pageable(pageable => pageable.Enabled(false))
                .ColumnMenu(columnMenu => columnMenu.ComponentType("modern"))
// ... going on with some further definitions
)

In the <head>-Tag of my _Layout.cshtml file, I have set the Kendo Culture to Swiss German:

<script>kendo.culture("de-CH")</script>

What I now observed is, that the buttons "Apply" and "Reset" did not get translated properly and remain in English (see Column_Menu_Reset_Apply_Button.png). Whereas other messages are correctly translated. 

I tried to find out which message property was set there, so that I could add it manually to the "kendo.messages.de-CH.min.js" (as by the way I still have to do for e.g. the Grid's searchbar placeholder "Search..."). 

In the loaded kendo.all.min.js (2021.1.330) I discovered, that there was no message property in place, and the texts were rather hard-coded:

'<div class="k-columnmenu-actions">' + '<button class="k-button" type="button">Reset</button>' + '<button class="k-button k-primary" type="button">Apply</button>' + '</div>' + '</div>'

With the Chrome's dev tools and the source map, I found the above code on line 55815 by searching for the class "k-columnmenu-actions".

Could you please change the mentioned code to make use of the kendo.messages-properties and update the culture-specific kendo.messages files accordingly?

Thanks in advance!

Kind regards,

Janick

 


Unplanned
Last Updated: 20 Apr 2021 10:10 by ADMIN

Currently, the ExportAs configuration exposes Proxy method to setup the proxyUrl field, but it is limited to enter only action and controller. Whereas in RazorPages a URL with handler should be defined instead. 

Plus, in order for the AntiForgeryToken to work properly it should be injected in the form submitted by the tool.

Unplanned
Last Updated: 19 Apr 2021 10:37 by ADMIN
Scheduled for 2021.R1.SP.next
Created by: erwin
Comments: 0
Category: Grid
Type: Bug Report
4

Bug report

The Kendo UI Grid's pager for UI for ASP.NET Core does not have an "All" option and it can't be configured in the Razor syntax.

Current behavior

Using the Kendo UI Grid's pageable.PageSizes, the ALL option is not available for UI for ASP.NET Core as it's only an Int32[].

Expected/desired behavior

The All option should be included like in the UI for ASP.NET MVC Razor Syntax.

Environment

  • Kendo UI version: 2020.3.915
  • Browser: all
Unplanned
Last Updated: 09 Apr 2021 15:14 by ADMIN

Bug report

Reproduction of the problem

  1. Run this Dojo
  2. Resize the Window
  3. Click the refresh button

Current behavior

Changes to the Window's content aren't applied by the refresh method, if the content isn't set up previously upon initialization or with the setOptions method.

Expected/desired behavior

The refresh method should correctly update the default content of the Window.

Environment

  • Kendo UI version: 2021.1.330
  • Browser: [ all ]
Unplanned
Last Updated: 05 Apr 2021 11:15 by Patrizio

Bug report

When PanelBar is configured with tag helpers selected="true" is not applied and the item is not rendered as selected.

Reproduction of the problem

  1. Create an UI for ASP.NET Core application and use configuration as in the example below:
<kendo-panelbar name="panelbar">
    <items>
        <panelbar-item text="Item 1" selected="true">
        </panelbar-item>
        <panelbar-item text="Item 2">                    
        </panelbar-item>
    </items>
</kendo-panelbar>

Current behavior

The 'Item 1' is not marked as selected.

Expected/desired behavior

The item should be marked as selected when the PanelBar widget is loaded.

Environment

  • Kendo UI version: 2021.1.330
  • Browser: [all ]
Unplanned
Last Updated: 02 Apr 2021 12:27 by Andy

Bug report

MultiSelect configured for server-filtering="true" sends an empty request on focusout

     <kendo-multiselect for="SelectedOrderIds" style="width:100%"
                       placeholder="Select addresses..."
                       datatextfield="ShipName"
                       datavaluefield="OrderID"
                       filter="FilterType.Contains"
                       value="Model.SelectedOrders.Select(x=>x.OrderID)">
        <datasource type="DataSourceTagHelperType.Ajax" server-filtering="true">
            <transport>
                <read url="@Url.Page("Index", "Read")" data="forgeryToken" />
            </transport>
            <schema data="Data">
                <model id="OrderID">
                    <fields>
                        <field name="ShipName" type="string"></field>
                    </fields>
                </model>              
            </schema>
        </datasource>
    </kendo-multiselect>

Reproduction of the problem

TelerikAspNetCoreApp197.zip

  1. Run the attached application
  2. Enter 34, for example, and select the returned item
  3. Click outside of the MultiSelect

Current behavior

An empty request is sent, fetching all data.

Expected/desired behavior

A request should not be sent.

Environment

  • Kendo UI version: 2021.1.330
  • Browser: [all]
Completed
Last Updated: 29 Mar 2021 08:05 by ADMIN
Release 2021.R1.SP.next
Created by: Ramon
Comments: 5
Category: TextArea
Type: Bug Report
5

Bug report

TextArea wrapper does not render correctly in v2021.1.224

Reproduction of the problem

Declare a Html.Kendo().TextArea() in ASP.NET project

Current behavior
The TextArea value does not retain.

Expected/desired behavior
TexArea shall render as in previous Kendo Ui versions

Related to Ticket #1509117
Environment
Kendo UI version: 2021.1.224
Browser: [all]

Unplanned
Last Updated: 18 Mar 2021 12:53 by ADMIN

Issue

Using any overload of ToDataSourceResult(Async) with a DataSourceRequest containing filter descriptors on an IQueryable provided by Entity Framework core 2.x, causes Entity Framework's "Query cache" to fill up for different filter values, leaking memory in the process. This is caused by using Expression.Constant in the generated expression trees for a DataSourceRequest's FilterDescriptors. Refer to https://github.com/dotnet/efcore/issues/14859 for more details about why this leaks memory.

Since Entity Framework's cache is always missed for new filter values, performance is also degraded due to this issue.

The issue is not present when using Entity Framework core 3 or greater. Apparently using Expression.Constant is not an issue on these version.

I have attached a minimal working example that illustrates the memory leak.

Fix

This issue can be fixed by changing FilterDescriptorExpressionBuilder.CreateValueExpression to not return a ConstantExpression, but a MemberExpression instead. Entity Framework 2.x will correctly parameterize the MemberExpression, causing the query cache to be hit correctly for queries that only differ in parameter values. It won't parameterize ConstantExpressions. Refer to https://stackoverflow.com/a/60516780/147993 for an example of generating a MemberExpression instead of a ConstantExpression.

Unplanned
Last Updated: 10 Mar 2021 18:24 by n/a

Bug report

Related to daylight saving: in the US on14 March, 2021, at 2:00AM the clocks are moved 1h forward.

Reproduction of the problem

Dojo example.

  1. Set the computer's timezone to Pacific (US/Canada).
  2. Double click the 2:00AM or the 2:30AM slot to add a new event.

Current behavior

The selection is moved 1h back to 1:00AM (or 1:30AM respectively) and the event is created at this time.

Expected/desired behavior

The event should be created at 3:00AM. This will be consistent with the way Outlook handles daylight saving - in a new meeting if you select 2:00AM as a start time, it is automatically changed to 3:00AM.

Environment

  • Kendo UI version: 2021.1.224
  • jQuery version: x.y
  • Browser: [Chrome 88, IE11]
Declined
Last Updated: 18 Feb 2021 09:54 by ADMIN

Dear Telerik Team

I have recently found a bug in the asp.net core Scheduler.

 

 What I did (using this demo):

1. Created a daily event

2. Edited the second event (the current occurrence) and saved it

3. Tried to edit the second event again

The problem is now that the popup if I want to edit the current occurrence or series still showed up but it should not.

We had the same problem also on our asp.net core application.

 

Best Regards

Jan

Completed
Last Updated: 10 Feb 2021 14:54 by ADMIN
Release 2021.R1.SP.next

Bug report

The tag helper's dataSource sets the following values: "page"=1 and "pageSize"=20, even though "server-operation" and "server-paging" are disabled in its configuration.

Reproduction of the problem

MultiSelect configuration:

<kendo-multiselect name="multiselect1" style="width:100%"
				   placeholder="Enter name..."
				   datatextfield="ShipName"
				   datavaluefield="OrderID"
				   min-length="2"
				   enforce-min-length="true">
	<datasource type="DataSourceTagHelperType.Ajax" server-operation="false"
				server-paging="false"
				server-filtering="false"
				server-aggregates="false"
				server-grouping="false"
				server-sorting="false">
		<transport>
			<read url="@Url.Action("GetData","Home")" />
		</transport>
	</datasource>
	<popup-animation>
		<open duration="500" />
		<close duration="500" />
	</popup-animation>
</kendo-multiselect>

Action:

public ActionResult GetData([DataSourceRequest] DataSourceRequest request)
{
    var result = Enumerable.Range(0, 50).Select(i => new OrderViewModel
    {
        OrderID = i,
        Freight = i * 10,
        OrderDate = new DateTime(2016, 9, 15).AddDays(i % 7),
        ShipName = "ShipName " + i,
        ShipCity = "ShipCity " + i
    });

    var dsResult = result.ToDataSourceResult(request);
    return Json(dsResult);
}

Current behavior

The "page" and "pageSize" values are set, which results in only 20 items being displayed, even though more are returned by the "read" action.

Expected/desired behavior

The "page" and "pageSize" should not be set, and the MultiSelect should display all the data returned by the "read" action.

Environment

  • Kendo UI version: 2020.3.1118
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 10 Feb 2021 14:42 by ADMIN
Release 2021.R1.SP.next

Bug report

The overlay is not removed when closing an Alert dialog, if there is an open Window with draggable.containment option set.

Reproduction of the problem

Dojo example.

  1. Click the "Alert" button
  2. Click "Ok" in the Alert dialog.

Current behavior

The overlay is not removed.

Expected/desired behavior

The overlay is removed.

Workaround: dojo.

Environment

  • Kendo UI version: 2020.1.219
  • jQuery version: x.y
  • Browser: [all]
Declined
Last Updated: 10 Feb 2021 08:42 by ADMIN

Hi!

We're using a drop down list as a grid cell's edit template, but.. our users are unable to properly edit the rows at the bottom of the grid due to drop down list going off the page, and closing when they attempt to scroll.

 

any ideas?

Unplanned
Last Updated: 08 Feb 2021 13:42 by Andreas Baumgaertel

Bug report

When the Editor is configured by using tagHelpers and the configuration of the tools is on multiple lines additional new lines are added to the Editor content due to the tags used for the tool's configuration.

Reproduction of the problem

  1. In UI for ASP.NET Core app use the following Editor configuration:
<button onclick="getValue()">get Value</button>
Test-1:<br /><br /><br /><br />
<kendo-editor name="test1" tag="div" >         
    <tools>
        <tool name="viewHtml" />
    </tools>
</kendo-editor>  
<script>
    function getValue() {
          var editor1 = $("#test1").data("kendoEditor");
          console.log(editor1.value())                   
    };
</script>
  1. Enter for example "1"
  2. Click the 'get Value' button

Current behavior

The value of the editor has additional new lines. The additional lines could be observed also in the 'viewhtml' tool. (screencast)

Expected/desired behavior

There should be no additional new lines added to the Editor's content.

Workaround

Configure the Editor on a single line

<kendo-editor name="test1" tag="div"><tools><tool name="viewHtml" /></tools></kendo-editor>

Environment

  • Kendo UI version: 2021.1.119
  • Browser: [all ]
Completed
Last Updated: 04 Feb 2021 14:47 by ADMIN
Release 2021.R1.SP.next

Bug report

Reproduction of the problem

Reproducible in the Vertical Grouping demo.

  1. Select the Timeline view.
  2. Add multiple (more than 11) events to a single time slot: screenshot.
  3. The slot resizes in height each time a new event is added, however, the more events are added the closer to the slot's bottom border they are pushed.

Current behavior

After adding 11 or more events, the last event starts overlapping the next resource group slot.

Expected/desired behavior

The slot should resize accordingly, based on the number of events shown in it. Events should not be displayed outside of the slot they belong to.

Environment

  • Kendo UI version: 2020.2.513
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 02 Feb 2021 14:22 by ADMIN
Release 2021.R1.SP.next

Bug Report

Ticket ID:1486632

When using groupable.sort.compare with client operations and groupPaging, a JavaScript error is thrown:

Reproduction

Dojo

Environment

2020.3.915

1 2 3 4 5