Completed
Last Updated: 05 Jun 2023 13:08 by ADMIN
Created by: Andreas
Comments: 1
Category: UI for ASP.NET Core
Type: Bug Report
0

Hi,

https://netcorerepl.telerik.com/?_gl=1*ptwrwx*_ga*MTM4MzE0OTY5MC4xNjczNDQ5ODc1*_ga_9JSNBCSF54*MTY3NzE1MzU1Ny44MC4xLjE2NzcxNTg0NTEuNjAuMC4w

 

From: Edit in Telerik REPL

https://demos.telerik.com/aspnet-core/gantt

Results:

One or more compilation failures occurred: /Views/Snippet.cshtml(24,18): Error RZ1006: The section block is missing a closing "}" character. Make sure you have a matching "}" character for all the "{" characters within this block, and that none of the "}" characters are being interpreted as markup.

 

Thanks

Andreas

 

 

Completed
Last Updated: 29 May 2023 16:57 by ADMIN

Bug report

Tooltip produces inconsistent behavior upon hovering when the content is configured through the content client-side configuration.

Reproduction of the problem

  1. Navigate to the Loading Content with AJAX or the Content Template demos.
  2. Hover over the first element.
  3. Hover over the second element and notice that the content is not shown.

Current behavior

For every second hover, the Tooltip does not display the element's content.

Expected/desired behavior

For every second hover, the Tooltip should display the element's content.

Environment

  • Kendo UI version: 2023.1.314
  • Browser: [all]
Completed
Last Updated: 29 May 2023 16:06 by ADMIN

Bug report

The ExportAs command's dropdown options are not populated when the client-side exportAs configuration of the Editor is additionally configured.

Regression introduced with 2023.1.314

Reproduction of the problem

  1. Open the following dojo
  2. Notice that the dropdown is blank and no data is populated.

image

Current behavior

The ExportAs command's dropdown is blank.

Expected/desired behavior

The ExportAs command's dropdown data should not be blank.

Environment

  • Kendo UI version: 2023.1.314
  • Browser: [all]
Completed
Last Updated: 19 May 2023 08:01 by ADMIN
Release R2.2023-Increment.3(7.June.2023)

Bug report

File Manager's built-in Search tool filters incorrectly when the input is cleared.

Regression introduced with 2023.1.314

Reproduction of the problem

  1. Open the following dojo.
  2. Type inside the rendered Search input "Doc".
  3. Clear the Search input and observe the behavior.

Current behavior

Clearing the Search input's value does not re-render the existing folders and files.

Expected/desired behavior

Clearing the Search input's value should re-render the existing folders and files.

Environment

  • Kendo UI version: 2023.1.314
  • Browser: [all]
Completed
Last Updated: 24 Apr 2023 11:35 by Özkan
Release R2.2023-Increment.2(26.Apr.2023)

Hi,

after we've updated at the last version, listview component stop working.

Below the code snippet:

<script type="text/x-kendo-tmpl" id="groupConfigTemplate"> <div > #:Name# </div> </script><script> function filterLinkerGroup() { return { linkerGroupId: $("#ddlLinkerGroup").data('kendoDropDownList').value() } } </script>

@(Html.Kendo().ListView<LinkerConfigViewModel>() .Name("lvLinkerGroupConfig") .TagName("div") .ClientTemplateId("groupConfigTemplate") .DataSource(source => { source.Ajax().Read(read => { read.Action("ReadLinkerGroupConfig", urlController).Data("filterLinkerGroup"); }); }) .AutoBind(false))

StackTrace Error:

 


System.NotSupportedException: "ClientTemplateId or ClientTemplateHandler" cannot be null or empty.
   at Kendo.Mvc.UI.ListView`1.VerifySettings()
   at Kendo.Mvc.UI.WidgetBase.WriteHtml(TextWriter writer)
   at Kendo.Mvc.UI.WidgetBase.ToHtmlString()
   at Kendo.Mvc.UI.Fluent.WidgetBuilderBase`2.WriteTo(TextWriter writer, HtmlEncoder encoder)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBuffer.WriteTo(TextWriter writer, HtmlEncoder encoder)
   at Microsoft.AspNetCore.Razor.TagHelpers.DefaultTagHelperContent.WriteToCore(Object entry, TextWriter writer, HtmlEncoder encoder)
   at Microsoft.AspNetCore.Razor.TagHelpers.DefaultTagHelperContent.WriteTo(TextWriter writer, HtmlEncoder encoder)
   at Microsoft.AspNetCore.Razor.TagHelpers.TagHelperOutput.WriteTo(TextWriter writer, HtmlEncoder encoder)
   at Microsoft.AspNetCore.Mvc.Razor.RazorPageBase.Write(Object value)
   at AspNetCore._Views_Linker_Index.<ExecuteAsync>b__14_9(TextWriter __razor_template_writer) in /Views/Linker/Index.cshtml:line 140
   at Microsoft.AspNetCore.Mvc.Razor.HelperResult.WriteTo(TextWriter writer, HtmlEncoder encoder)
   at Kendo.Mvc.UI.SplitterPane.WriteHtml(TextWriter writer, IKendoHtmlGenerator generator, HtmlEncoder encoder)
   at Kendo.Mvc.Extensions.EnumerableExtensions.Each[T](IEnumerable`1 instance, Action`1 action)
   at Kendo.Mvc.UI.Splitter.WriteHtml(TextWriter writer)
   at Kendo.Mvc.UI.WidgetBase.ToHtmlString()
   at Kendo.Mvc.UI.Fluent.WidgetBuilderBase`2.WriteTo(TextWriter writer, HtmlEncoder encoder)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.ViewBuffer.WriteToAsync(TextWriter writer, HtmlEncoder encoder)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderLayoutAsync(ViewContext context, ViewBufferTextWriter bodyWriter)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderLayoutAsync(ViewContext context, ViewBufferTextWriter bodyWriter)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ActionContext actionContext, IView view, ViewDataDictionary viewData, ITempDataDictionary tempData, String contentType, Nullable`1 statusCode)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync(ActionContext context, ViewResult result)
   at Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync(ActionContext context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeResultFilters>g__Awaited|28_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

 

Also your demo page doesn't work anymore (https://demos.telerik.com/aspnet-core/listview)

Completed
Last Updated: 12 Apr 2023 13:21 by ADMIN
Release R2.2023-Increment.2(26.Apr.2023)
Created by: n/a
Comments: 1
Category: Upload
Type: Bug Report
1

Bug report

The Upload 'Select files' localization isn't working.

Reproduction of the problem

  1. Run this Dojo

Current behavior

The localization.select configuration doesn't have effect.

Environment

  • Kendo UI version: 2023.1.314
  • Browser: [all]
Completed
Last Updated: 10 Apr 2023 13:01 by ADMIN
Release R2.2023-Increment.2(26.Apr.2023)

Bug report

Filtering a column bound to a complex object throws a JavaScript error.
This is a regression introduced with v 2023.1.117

Uncaught TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at x (kendo.all.js:313050:21)
    at init._createForm (kendo.all.js:313050:21)
    at init._init (kendo.all.js:313050:21)
    at init._click (kendo.all.js:313050:21)
    at HTMLAnchorElement.dispatch (jquery.min.js:3:12445)
    at r.handle (jquery.min.js:3:9174)

Reproduction of the problem

  1. Run this REPL or this dojo
  2. Click on the filter icon of the Category column

Current behavior

JavaScript error is thrown and the filter menu is not generated.

Expected/desired behavior

Filtering should work as expected.

Environment

  • Kendo UI version: 2023.1.117
  • Browser: [all]
Completed
Last Updated: 30 Mar 2023 07:27 by ADMIN
Release R2.2023-Increment.2(26.Apr.2023)

Bug report

DataSource Wrappers do not expose a configuration property do create a kendo.data.SchedulerDataSource. This is needed to configure a shared DataSource between the Filter and the Scheduler

Reproduction of the problem

  1. Unlike jQuery the wrappers do not expose the configuration for a SchedulerDataSource

Expected/desired behavior

The wrapper should be able to integrate the Filter with Scheduler as referenced by the Filter's Documentation

TicketID:

1565222

Environment

  • Kendo UI version: 2022.2.510
  • Browser: [all]
Completed
Last Updated: 22 Mar 2023 06:36 by ADMIN

Bug report

Reproduction of the problem

  • Run the following Telerik REPL.
  • Notice the logged error within the console.

Current behavior

Having a grid with a similar column setup will result in an error.

.Columns(columns =>
{
    columns.Bound(p => p.UnitsInStock).HtmlAttributes(new { @class = "#: UnitsInStock == 39 ? 'test' : 'a' #" });
})

Expected/desired behavior

Having a grid with a similar column setup should not result in an error.

.Columns(columns =>
{
    columns.Bound(p => p.UnitsInStock).HtmlAttributes(new { @class = "#: UnitsInStock == 39 ? 'test' : 'a' #" });
})

Environment

  • Kendo UI version: 2022.3.913
  • Browser: [all]
Completed
Last Updated: 13 Mar 2023 14:01 by ADMIN
Release R1.2023-Increment.3(18.Jan.2023)

Bug report

The relevant attributes are applied to the list item instead of the anchor tag of the Toolbar's dropdown

Reproduction of the problem

  1. Run this Dojo
  2. Expand the SplitButton and redirect

Current behavior

Both the current and the newly open tab redirect to the link

Expected/desired behavior

Only the newly open tab should redirect

Environment

  • Kendo UI version: 2022.2.621
Completed
Last Updated: 01 Mar 2023 12:15 by ADMIN
Release R2.2023-Increment.1(15.Mar.2023)

Bug report

Setting the sortable configuration for a Gantt column via TagHelpers does not enable sorting for the column.

Reproduction of the problem

  1. Run the TagHelper Gantt Basic Usage demo - REPL
  2. Try to sort a column, for example the Start column

Current behavior

Columns are not sorted.

Expected/desired behavior

When sorting is enabled for a column it should be sortable.

Workaround

Set the sortable configuration for the desired columns after initialization of the Gantt component - REPL

    $("document").ready(function(){
        var gantt = $("#gantt").getKendoGantt();
        var options = gantt.options;
        options.autoBind = true;
        options.columns[2].columns[0].sortable = true; //enable sorting for Start column
        options.columns[2].columns[1].sortable = true; //enable sorting for End column
        gantt.setOptions(options);
    })

Environment

  • Kendo UI version: 2023.1.117
  • Browser: [all]
Completed
Last Updated: 07 Feb 2023 13:50 by ADMIN
Release R2.2023-Increment.1(15.Mar.2023)
Created by: ln-cp
Comments: 1
Category: UI for ASP.NET Core
Type: Bug Report
0

The 'footer' attribute in the TagHelpers for both the DatePicker and DateTimePicker does not result in any corresponding markup / Javascript configuration on the page created by the view.

See https://netcorerepl.telerik.com/QxaPwpPt57ypaI4307

Completed
Last Updated: 09 Jan 2023 10:08 by ADMIN
Release R1.2023-Increment.3(18.Jan.2023)
Created by: SturmA
Comments: 1
Category: Grid
Type: Bug Report
1
The bug is related to calling multiple times the 'Create' action on Clicking 'Delete' button and could be reproduce with a Kendo sample:
 

I have updated the sample.
Steps to reproduce:
  1. The grid is configured to Virtual mode and add Groups.
  2. Expand a group
  3. Do NOT fetch all items in group, that's very Important!
  4. Click 'Delete' button
Result: I have debugged kendo code and found out that for each ''unfetched' row from the group, grid will take it as a 'new object' and will call 'Create' action for them.
'Create' actions are not called in case the group is fetched to the end and so all items are loaded!
Completed
Last Updated: 06 Jan 2023 15:37 by ADMIN
Release R1.2023-Increment.3(18.Jan.2023)

### Bug report

The Telerik UI ListBox is not being rendered when the AutoBind() option is specified. Regardless of the value that is put inside the method - be it true/false.

### Reproduction of the problem

1. Set the DataSource option of the ListBox without specifying type such as Ajax/Custom.

2. Set the AutoBind(true) option.

3. Run the application - the page is not rendered at all.

### Expected/desired behavior

The widget should be rendered when the AutoBind is set to true/false.

### TicketID: 1524780

### Possible reason for the behavior

When the Ajax/Custom type of the data source is not specified, the type defaults to null. Hence, there is a boolean property that is checked inside the VerifySettings method of the ListBox.cs file in the source. The IsClientBinding property checks if the widget is bound to a data source, however, since the data source does not have a type, it thinks that the widget is bound to the data via the BindTo option which is incorrect. 

Having the AutoBind() property and the BindTo() property enabled, a C# error is thrown inside the VerifySettings() method. However, this error should not be thrown when a data source is specified (even without type).

### Environment

* **Kendo UI version:** 2021.2.616
* **jQuery version:** 1.12.4
* **Browser:** [all]

Completed
Last Updated: 08 Nov 2022 21:16 by ADMIN
Release R1.2023-Increment.1(09.Nov.2022)

Bug report

The DatePicker TagHelper does not expose the disableDates configuration option.

Reproduction of the problem

When using the DatePicker TagHelper it is not possible to set the disableDates configuration.

Expected/desired behavior

The disableDates configuration should be configurable similar to the HTML Helpers.

Environment

  • Kendo UI version: 2022.2.802
  • Browser: [all]
Completed
Last Updated: 25 Oct 2022 06:32 by ADMIN
Release R1.2023-Increment.1(09.Nov.2022)

Bug report

When a Telerik UI for ASP.NET Core MultiSelect is used in a Form, a JS error is thrown:

jquery.min.js:2 Uncaught Error: Syntax error, unrecognized expression: #
    at Function.se.error (jquery.min.js:2)
    at se.tokenize (jquery.min.js:2)
    at se.select (jquery.min.js:2)
    at Function.se [as find] (jquery.min.js:2)
    at S.fn.init.find (jquery.min.js:2)
    at new S.fn.init (jquery.min.js:2)
    at S (jquery.min.js:2)
    at Object.data ((index):24)
    at init.setup (kendo.all.js:6596)
    at init.read (kendo.all.js:6574)

The issue occurs when using jQuery 3.6.0, but is absent with jQuery v 1.12.4

Reproduction of the problem

@(Html.Kendo().Form<FormViewModel>()
        .Name("exampleForm")
        .HtmlAttributes(new { action = "Items", method = "POST" })
        .Validatable(v =>
        {
            v.ValidateOnBlur(true);
            v.ValidationSummary(vs => vs.Enable(true));
        })
        .Items(items =>
        {
               items.Add()
                        .Field(f => f.MultiSelect)
                        .Label(l => l.Text("MultiSelect:"))
                        .Editor(e =>
                        {
                            e.MultiSelect()
                                .HtmlAttributes(new { })
                                .Placeholder("Select...")
                                .DataTextField("ProductName")
                                .DataValueField("ProductID")
                                .HtmlAttributes(new { style = "width:100%" })
                                .Height(520)
                                .DataSource(source =>
                                {
                                    source.Read(read =>
                                    {
                                        read.Action("Items_GetProducts", "Form");
                                    })
                                    .ServerFiltering(true);
                                });
                        });
             })
    )
    public class FormViewModel
    {
        public List<ProductViewModel> MultiSelect { get; set; }
    }

Runnable sample available in ticket 1540812

Expected/desired behavior

JavaScript error should not be thrown.

Environment

  • Kendo UI version: 2021.3.914
  • jQuery version: 3.6.0
  • Browser: [all]
Completed
Last Updated: 24 Oct 2022 11:46 by ADMIN
Release R1.2023-Increment.1(09.Nov.2022)

Bug report

When server-side localization is used Filtering is always enabled.

Reproduction of the problem

Runnable sample is available in ticket 1580765
The Filterable.Operators automatically configures the messages for the string, number, date and enum operators based on the resx files.

Current behavior

Filtering for the TreeList is always enabled.

Expected/desired behavior

Filtering for the TreeList should be configurable irrespective of whether localization is used or not.

Workaround

After the TreeList is initialized call the setOptions method and disable filtering:

$(document).ready(function(){
    var treelist = $("#treelist").getKendoTreeList();
    treelist.setOptions({
        filterable:false
    });
})

Environment

  • Kendo UI version: 2022.3.913
  • Browser: [all]
Completed
Last Updated: 14 Oct 2022 14:56 by ADMIN
Release R1.2023-Increment.1(09.Nov.2022)

Bug report

New lines are not removed from the serialized Toolbar.ClientTemplate when multiline content is provided and the Grid is in a DetailTemplate, thus generating an invalid template and causing a Chrome Exception.

Reproduction of the problem

The following template configuration is valid and works for the parent grid, but not for child grids:

.ToolBar(toolbar => toolbar.ClientTemplate(@" 
            <div class='filter'>
                <span class='k-textbox k-display-flex auto-filter''>
                    <input id='search' autocomplete='off' class='k-input' placeholder='Search...' title='Search...' type='text'>
                    <span class='k-input-icon'><span class='k-icon k-i-search'></span></span>
                </span>
            </div>
        "))

REPL example

Current behavior

Invalid template is generated

Expected/desired behavior

A valid template should be generated

Environment

  • Kendo UI version: 2022.2.621
  • Browser: [all ]
Completed
Last Updated: 13 Oct 2022 07:45 by ADMIN
Release R1.2023-Increment.1(09.Nov.2022)

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.

Completed
Last Updated: 13 Oct 2022 07:43 by ADMIN
Release R1.2023-Increment.1(09.Nov.2022)

Bug report

Link do not appear properly in a TagHelper menu that uses asp-action and asp-controller. In version 2.1 the application crashes

Reproduction of the problem

  1. In app that uses Telerik UI for ASP .NET Core 2022.2.510 or configure a TagHelper Menu with the following TagHelpers:
       <menu-item text="Furniture">
             <sub-items>
                 <menu-item text="Tables & Chairs" asp-action="About" asp-controller="Home" ></menu-item>
              </sub-items>
       </menu-item>
  1. Run the project

Expected/desired behavior

Microsoft Tag Helpers should create a working anchor tag

Environment

  • Kendo UI version: 2022.2.510
1 2 3 4 5 6