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 ]
Pending Review
Last Updated: 09 Apr 2021 09:52 by Janick

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: 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:28 by Andy

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

Unplanned
Last Updated: 28 Jan 2021 12:31 by Don Leduc

Bug report

Reproduction of the problem

Dojo example.

  1. Run the example

Current behavior

The Chart's animation does not work when it is nested in the Splitter.

Expected/desired behavior

The Chart's animation should work.

Environment

  • Kendo UI version: 2021.1.119
  • jQuery version: x.y
  • Browser: [all]
In Development
Last Updated: 26 Jan 2021 08:08 by ADMIN

Bug report

Reproduction of the problem

Dojo example.

  1. Type in "f" in the MultiSelect's input area. It is filtered and shows 2 items in the list.
  2. Press "Ctrl + A" keys. The two items are selected.
  3. Clear the text in the input. The list is populated with all items in the dataSource.
  4. Press "Ctrl + A" keys again

Current behavior

All items are selected, but the first two ("Chai and Chang") are not highlighted as selected.

Expected/desired behavior

All items should be selected and highlighted as selected.

Environment

  • **Kendo UI version: 2020.3.1118
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 22 Jan 2021 07:55 by ADMIN
Created by: Sudeshna
Comments: 0
Category: Spreadsheet
Type: Bug Report
0

Bug report

Reproduction of the problem

  1. Download the excel file attached in Ticket ID: 1469596
  2. Open it in the Spreadsheet.
  3. Filter a column, for example the "Anatomy" column, deselect all and leave only "Abdo".
  4. Filter another column, for example Timepoint Name. Deselect all and select only V31. Note that this value does not match any "Abdo" row. Because of that, in Excel "V31" is not even available in the filter, once the "Anatomy" column is filtered by "Abdo". In the Spreadsheet the second column can be filtered by "V31".

Current behavior

No data is displayed after filtering the second column (expected), but the header is duplicated.

Additional notes: the file has been tested against the Open XML SDK tool and it reports 4 issues related to Fonts, however, the duplication occurs even after modifying the original file and applying an arbitrary font and font-size to the whole document, so that it passes the tool's verification successfully.

Expected/desired behavior

No data is displayed and there is no header duplication.

Environment

  • Kendo UI version: 2020.2.607
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 18 Jan 2021 09:09 by ADMIN
Release 2021.R1

Bug report

In a Razor Pages project, the Gantt's tasks are not binding if the taskID and parentID fields are strings.

This is a regression introduced in version 2020.3.915.

Reproduction of the problem

  1. Open and run this example
  2. Switch to Kendo version after 2020.2.617

Current behavior

There are no tasks displayed in the Gantt.

Expected/desired behavior

The tasks should be displayed.

Environment

  • Kendo UI version: 2020.3.1118
  • Browser: [all]
Unplanned
Last Updated: 25 Dec 2020 09:55 by ADMIN

I have a screen that I'm manually calling the print functionality of the kendo-pdfviewer from a button click.   It is working, but the problem is that the resulting print dialog window is really small.   Even if I open the print dialog, resize the dialog, and then try to print again it gets reset to the original small size.  This is preventing our users from previewing what the resulting page will print like.   



This is the code for my pdf viewer

 

<div class="row">
    <div class="col">

        <div id="example">

            <kendo-pdfviewer name="pdfviewer" height="300">
                <pdfjs-processing file="@(Url.Page("/Badges/Details", "VisitorBadge", new { BadgeId = @Model.Id }))" />
                <toolbar enabled="false">
                    <pdfviewer-toolbar-items>
                        <pdfviewer-toolbar-item command="PrintCommand" type="button" name="print" icon="print"></pdfviewer-toolbar-item>
                    </pdfviewer-toolbar-items>
                </toolbar>
            </kendo-pdfviewer>
        </div>

        <style>
            html body #pdfviewer {
                width: 100% !important;
            }
        </style>
    </div>
</div>

 

This is the javascript used to open the print dialog
 
    badgereport.onWindowOpen = function () {
        $pdfviewer = $("#pdfviewer").data("kendoPDFViewer");
        $printBadgePdf = $("#printBadgePdf");
        $closeBadgePdf = $("#closeBadgePdf");
        $badgeWindow = $("#badgeWindow").data("kendoWindow");

        $printBadgePdf.on("click", function (e) {
            e.preventDefault();
            $pdfviewer.execute({ command: "PrintCommand" });

        });
        $closeBadgePdf.on("click", function (e) {
            e.preventDefault();
            $badgeWindow.close();
        });

    };
1 2 3 4 5