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: 24 Mar 2023 08:24 by ADMIN
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: 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:42 by ADMIN
Release R1.2023-Increment.3(18.Jan.2023)
Created by: Manousos
Comments: 4
Category: DropDownList
Type: Feature Request
10

Having a floating label functionality similar to the one available for the native Vue DropDownList, would be nice to have.

https://www.telerik.com/kendo-vue-ui/components/dropdowns/floating-labels/

 

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: 28 Nov 2022 12:04 by ADMIN
Release R1.2023-Increment.2(07.Dec.2022)

Currently, to set a field's label and text the Wizard's Label() and Title() options must be used:

items
	.Add()
	.Field(p => p.DropdownId)
	.Label(l => l.Text("Dropdown"))
	.Title("Dropdown")

It would be helpful if the Wizard can be configured to get these from the data annotation attributes in the model:

[Display(Name = "Dropdown")]
public int DropdownId{ get; set; }

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: 01 Nov 2022 14:59 by ADMIN
Created by: Frank
Comments: 4
Category: Checkbox
Type: Feature Request
1

Hello,

under
https://demos.telerik.com/aspnet-core/checkbox/index
I found that a checkbox can be used as a telerik component.
Unfortunately my intellisense does not show a suggestion for checkbox when I try to use it as a tag helper. 
So my question ist:
Can checkbox be used with Tag Helper in Asp.Core 3.1 (Razor Pages) ?
Regards

 

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 12:05 by ADMIN
Release R1.2023-Increment.1(09.Nov.2022)
Currently, the Telerik ASP.NET Core Form component does not display the name of the property that is set through the "DisplayAttribute.Name Property". Is it possible to implement it?
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
Completed
Last Updated: 13 Oct 2022 07:41 by ADMIN
Release R1.2023-Increment.1(09.Nov.2022)

Bug report

When defining a PanelBar with Custom DataSource the Schema configuration is not serialized.

Reproduction of the problem

The following configuration

@(Html.Kendo().PanelBar()
		.Name("panelbar")
		.AutoBind(false)
		.DataSource(dataSource => dataSource
			.Custom()
			.Schema(schema => schema
				.Model(model => model.Children("Aggregates"))
			)
		)
	)

generates the following initialization script:

kendo.syncReady(function() {
    jQuery("#panelbar").kendoPanelBar({
        "autoBind": false,
        "loadOnDemand": true,
        "expandMode": "multiple",
        "dataSource": {
            "schema": {
                "model": {
                    "fields": {}
                }
            }
        }
    });
});

The ASP.NET MVC wrapper serializes the schema as expected.

Expected/desired behavior

The Schema configuration should be serialized.

Environment

  • Kendo UI version: 2022.2.802
  • Browser: [all]
Completed
Last Updated: 13 Oct 2022 07:40 by ADMIN
Release R1.2023-Increment.1(09.Nov.2022)
Created by: René Spruit
Comments: 0
Category: Form
Type: Bug Report
0

Bug report

The Form TagHelper does not provide support for hidden fields, similar to the HtmlHelper.

Reproduction of the problem

The Form TagHelper does not allow similar built-in configuration:

.Items(i =>
            {
            i.Add()
                .Field(f => f.UserID)
                .Editor(editor => editor.Hidden());
            })

Expected/desired behavior

The Form TagHelper should support hidden inputs.

Workaround

Similar result can be achieved by setting the editor-handler attribute, creating a hidden input and setting an empty label:

<form-items>
    <form-item field="UserID" editor-handler="hiddenEditor" >
        <item-label text=" " />
    </form-item>
</form-items>

<script>
    function hiddenEditor(container, options) {
        $('<input type="hidden" data-bind="value: ' + options.field + '" name="' + options.field + '"/>')
            .appendTo(container);
    }
</script>

Environment

  • Kendo UI version: 2022.3.913
  • Browser: [all]
1 2 3 4 5 6