Approved
Last Updated: 22 Aug 2019 08:02 by ADMIN

Bug report

When visible attribute is set to false for a panelbar-item, the item remains visible when the widget is rendered.

Reproduction of the problem

<kendo-panelbar name="project">
        <items>
            <panelbar-item text="Storage" expanded="true">
                <items>
                    <panelbar-item visible="false" text="Kids Storage" ></panelbar-item>
                </items>
            </panelbar-item>
        </items>
</kendo-panelbar>

Current behavior

Adding visible attribute to panelbar-item does not change its visibility.

Expected/desired behavior

Adding visible attribute to panelbar-item should change item visibility.

Environment

  • Kendo UI version: 2019.2.619
  • Browser: [all]
Approved
Last Updated: 09 Jul 2019 13:31 by Dan

Bug report

In Core when the ComboBoxFor helper is used as an editor in a Grid (Shared/EditorTemplates) and its Name is set, the Grid does not render and no exception is displayed, to indicate that the Name option should not be set.

Reproduction of the problem

Reproducible in the Editing custom editor Grid demo.

  1. Set the ComboBox' Name in the ClientCategory.cshtml template
@(Html.Kendo().ComboBoxFor(m => m)
    .Name("CategoryID")
    .DataValueField("CategoryID")
    .DataTextField("CategoryName")
    .BindTo((System.Collections.IEnumerable)ViewData["categories"])
)

Current behavior

We throw an exception when the Name is set (e.g. if the ComboBox is used outside of a Grid), but in this scenario it is not displayed.

Expected/desired behavior

An exception is thrown and its message is displayed.

Environment

  • Kendo UI version: 2019.2.619
  • jQuery version: x.y
  • Browser: [all]
Approved
Last Updated: 09 Jul 2019 12:13 by NS

Bug report

The data attributes are not rendered for the DropDownlist when bound to Model in Razor Pages.

Reproduction of the problem

View:

@page
@model TelerikAspNetCoreApp12.Pages.IndexModel

<form>
    @(Html.Kendo().DropDownList()
            .Name("fabric")
            .OptionLabel("Select...")
            .DataTextField("Text")
            .DataValueField("Value")
            .BindTo(Model.Data)
            .Filter("contains")
    )
    <input type="submit" />
</form>

Back end:

namespace TelerikAspNetCoreApp12.Pages
{
    public class IndexModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
    {
        public List<TestModel> Data { get; set; } = new List<TestModel>();

        public void OnGet()
        {
            for (int i = 1; i <= 100; i++)
            {
                Data.Add(new TestModel() { Text = "product" + i, Value = i.ToString() });
            }
        }
    }
}

Model:

namespace TelerikAspNetCoreApp12.Models
{
    public class TestModel
    {
        [Required(ErrorMessage = "Please select")]

        public string Text { get; set; }

        public string Value { get; set; }
    }
}

Inspect the input field for the DropDownList. It does not have data-val and data-val-required attributes.

Current behavior

The data attributes are not being rendered.

Expected/desired behavior

The data attributes should be rendered.

Environment

  • Kendo UI version: 2019.2.619
  • jQuery version: x.y
  • Browser: [all]
Approved
Last Updated: 26 Apr 2019 12:19 by ADMIN

When a model property is decorated with data annotation attributes, the RadioButton HtmlHelper does not properly render the data-val and data-val-required attributes on the element.

Expected behavior:  Data attributes should be successfully rendered on the <input> element.

Approved
Last Updated: 23 Apr 2019 10:50 by ADMIN
Created by: Joshua
Comments: 0
Category: UI for ASP.NET Core
Type: Bug Report
1

Trying to attach an event to the Core Sparkline wrapper like this:

@(Html.Kendo().Sparkline()
                .Name("temp-log")
                .Type(SparklineType.Column)
                .Data(new double[] {
                16, 17, 18, 19, 20, 21, 21, 22, 23, 22
            })
            .Events(e=>e.SeriesClick("onSeriesClick"))
)

leads to a compilation error:

Error CS0121 The call is ambiguous between the following methods or properties: 'SparklineBuilder<T>.Events(Action<ChartEventBuilder>)' and 'SparklineBuilder<T>.Events(Action<SparklineEventBuilder>)'


Approved
Last Updated: 05 Apr 2019 13:22 by ADMIN
Created by: Mhd.Ahd
Comments: 0
Category: UI for ASP.NET Core
Type: Bug Report
1

Dears,

While browsing the new components of UI for Asp Core, I found an Issue in the provided online sample (https://demos.telerik.com/aspnet-core/ripplecontainer/index)

After transferring and moving items between the lists of "RIPPLE ON LIST ITEMS", the list display the raw HTML of the items. So, I provided a screen record reproducing the issue (https://pasteboard.co/I7Fx0AW.gif).

Approved
Last Updated: 18 Mar 2019 15:13 by ADMIN

The Menu TagHelper does not render correct links for its items when the asp-page attribute is used.

With area it does not render a link at all:
<menu-item text="Home" asp-area="Products" asp-controller="Home" asp-action="About"></menu-item>

Without area it renders an incorrect link
<menu-item text="Login" asp-area="Products" asp-page="/Books"></menu-item>


Approved
Last Updated: 28 Feb 2019 15:39 by ADMIN
Created by: Bharat
Comments: 1
Category: Grid
Type: Bug Report
2

Hi Kendo Team,

I am working on Kendo UI ASP.NET Core Grid binding with SignalR. But while starting Hub and providing the Promise, I am facing an error "The "promise" option must be a Promise."

I am following this URL for reference: https://demos.telerik.com/aspnet-core/grid/signalr .

Checked on your website as well, but the issue is also coming there. Here is the URL: https://docs.telerik.com/kendo-ui/api/javascript/data/datasource/configuration/transport.signalr

In this link, when clicking on "Open In Dojo" button, it opens a new window, then clicks on the Run button. It will generate an error in the console "Uncaught Error: The "promise" option must be a Promise.". 

Please check the attached snapshot.

Please reply asap. Thanks in advance!

Approved
Last Updated: 28 Feb 2019 12:34 by ADMIN
Created by: CLOCA
Comments: 0
Category: UI for ASP.NET Core
Type: Bug Report
2

When certain options of the editable Window are set through configuration, they are not being serialized correctly:

MinWidth
MinHeight
Events (Open, Close, etc.)

@(Html.Kendo().Scheduler<TelerikAspNetCoreAppScheduler.Models.TaskViewModel>()
   .Editable(e => e.Window(w => 
      w.MinHeight(1000)
        .MinWidth(1000)
        .Events(we => we.Open('onOpen'))))
)


Approved
Last Updated: 05 Dec 2018 16:43 by ADMIN
View:
@page
@model IndexModel
@{
    ViewData["Title"] = "Home page";
}
 
<form class="form-horizontal" method="post">
    <h4>Standard textbox:</h4>
    @Html.TextBoxFor(m => m.Candidate.CandidateId)
 
    <h4>Kendo textbox:</h4>
    @Html.Kendo().TextBoxFor(model => model.Candidate.FirstName)
    <div class="form-group">
        <div>
            <button type="submit" class="btn btn-default">Submit</button>
        </div>
    </div>
</form>

Back end:
public class IndexModel : PageModel
{
    [BindProperty]
    public CandidateViewModel Candidate { get; set; }
 
    public void OnGet()
    {
 
    }
 
    public void OnPost()
    {
        ViewData["firstname"] = $"{Candidate.FirstName}";
        ViewData["candidateid"] = $"{Candidate.CandidateId}";
    }
}

Model:
public class CandidateViewModel
{
    [Key]
    [Display(Name = "Candidate ID")]
    public int CandidateId { get; set; }
 
    [Required]
    [Display(Name = "First Name")]
    public string FirstName { get; set; }
}

Inspect the TextBox and Kendo TextBox helpers in the browser. The latter does not render data-val and data-val-required attributes.