Unplanned
Last Updated: 27 Mar 2020 21:26 by ADMIN
Created by: Ram
Comments: 0
Category: DateTimePickers
Type: Feature Request
2
I'd like to request the functionality to be able to type through to each section of the Kendo UI DatePicker instead of pressing the left and right arrows automatically.
Unplanned
Last Updated: 25 Mar 2020 14:14 by ADMIN
Created by: Stephane
Comments: 1
Category: Menu
Type: Bug Report
1

Hello,

On Chrome for Android, the dropdown menu appears offscreen. With Firefox for Android or Chrome desktop, it works well.
This sample reproduces the problem : https://runner.telerik.io/fullscreen/@kakone/azuPAHuy. If you click on the right item (user icon), the dropdown appears offscreen.

Unplanned
Last Updated: 24 Mar 2020 09:18 by ADMIN
We are needing an image editor control for an ASP.Net Core project.  The one in the AJAX does what we want.  Will it be coming to Core in the near future?
Unplanned
Last Updated: 24 Mar 2020 08:28 by ADMIN
Expose Upload Error event in the FileManager HTML helper configuration
Unplanned
Last Updated: 20 Mar 2020 14:31 by ADMIN
Created by: Andrew
Comments: 0
Category: UI for ASP.NET Core
Type: Feature Request
0

Be able to bind the DataSource to data without a separate controller and AJAX fetch for use with Razor Pages.

The use case is a shared data source that drives multiple components on a page for example a chart and grid filtered with an auto complete box.

In a grid I can do this:

@(Html.Kendo().Grid(Model.Data)
    .Name("Grid")
    .Columns(columns =>
    {
        columns.Bound(p => p.Description).Title("Description");
        columns.Bound(p => p.RecordCount).Title("Number Sold").Width(130);
        columns.Bound(p => p.TotalValue).Title("Total Value").Width(130);
        columns.Bound(p => p.AverageValue).Title("Average Value").Width(130);
        columns.Bound(p => p.Rank).Title("Rank").Width(130);
        columns.Bound(p => p.RankMax).Title("Bananas").Width(130);
        columns.Bound(p => p.LowerQuartile).Title("LowerQuartile").Width(130);
        columns.Bound(p => p.Median).Title("Median").Width(130);
        columns.Bound(p => p.UpperQuartile).Title("UpperQuartile").Width(130);
    })
    .Sortable()
    .DataSource(dataSource => dataSource
        .Ajax()
        .PageSize(20)
        .ServerOperation(false)
    )
)

 

Would want to be able to do same with the DataSource like:

@(Html.Kendo().DataSource(Model.Data)
    .Name("dataSource1")
    .Ajax(dataSource => dataSource
        .ServerOperation(false)
    )
    )

 

Unplanned
Last Updated: 20 Mar 2020 09:36 by Akesh Gupta
Created by: Akesh Gupta
Comments: 0
Category: UI for ASP.NET Core
Type: Bug Report
0

Bug report

The StringExtensions -> ToCamelCase method(part of Kendo.Mvc.Extenstions) doesn't return the expected Camel case result.

  • More details in ticket # 1458202

Reproduction of the problem

Include the Kendo.Mvc.Extenstions namespace. Define the following in a controller:

        public IActionResult Index()
        {
            string test = "RANDOMStatusId";
            test = test.ToCamelCase();

            return View();
        }

Set a debugger and see the value of the "test" variable.

Current behavior

The returned from the ToCamelCase() method value is "rANDOMStatusId"
image

Expected/desired behavior

The expected result returned from the ToCamelCase() method value is "randomStatusId"

Environment

  • Kendo UI version: 2020.1.219
  • jQuery version: x.y
  • Browser: [all]
Unplanned
Last Updated: 20 Mar 2020 07:09 by ADMIN
Created by: Padhraic
Comments: 4
Category: UI for ASP.NET Core
Type: Feature Request
3
Even when using server side paging some requests can be very long, and may be canceled by the user.  Adding a CancellationToken parameter to the ToDataSourceResultAsync.
Unplanned
Last Updated: 18 Mar 2020 17:40 by Kyle

Hi guys,

 

I found out, that the QueryableExtension always generates a ToLower for strings filtered with the equals operator. The ToLower is applied by the FilterOperatorExtensions in this method:

    private static Expression GenerateEqual(
      Expression left,
      Expression right,
      bool liftMemberAccess)
    {
      if (left.Type == typeof (string))
      {
        left = FilterOperatorExtensions.GenerateToLowerCall(left, liftMemberAccess);
        right = FilterOperatorExtensions.GenerateToLowerCall(right, liftMemberAccess);
      }
      return (Expression) Expression.Equal(left, right);
    }

It would be nice, if the to lower is controllable with a parameter. At the moment it generates a to lower in the sql query, which generates a lot of overhead in some situations with large tables.

At the moment I remove all "equal to" filter and apply it manually to the IQueryable object.

 

Best regards

Moritz

Unplanned
Last Updated: 12 Mar 2020 09:38 by Stephane

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]
Unplanned
Last Updated: 05 Mar 2020 14:53 by Ben

Bug report

DropDownTreeItemModel does not properly pass its HtmlAttributes members on populating DropDownTree with BindTo()

Reproduction of the problem

In .Net Core application, implement the following view:

@(Html.Kendo().DropDownTree()
    .Name("kendoTreeItems")
    .BindTo((IEnumerable<DropDownTreeItemModel>)ViewBag.Items)
)

and the following controller:

public IActionResult Index()
{
    ViewBag.Items = GetItems();
    return View();
}

public IEnumerable<DropDownTreeItemModel> GetItems()
{
    IDictionary<string, string> attributes = new Dictionary<string, string>
    {
        { "style", "background: red" }
    };

            List<DropDownTreeItemModel> items = new List<DropDownTreeItemModel>
    {
        new DropDownTreeItemModel { Text = "Item 1", HtmlAttributes = attributes },
        new DropDownTreeItemModel { Text = "Item 2", HtmlAttributes = attributes },
        new DropDownTreeItemModel { Text = "Item 3", HtmlAttributes = attributes },
        new DropDownTreeItemModel { Text = "Item 4", HtmlAttributes = attributes },
    };

    return items;
}

Current behavior

The HTML attributes will not be passed to the DropDownTree items.

Expected/desired behavior

The HTML attributes should be passed and present in the DropDownTree items.

Environment

  • Kendo UI version: 2020.1.219
  • Browser: [all]
Unplanned
Last Updated: 26 Feb 2020 14:57 by ADMIN

### Bug report


### Reproduction of the problem
On the mobile version on Android 10, the Grid does not enter incell editing.

Dojo to reproduce: https://dojo.telerik.com/oDUBuKAt


### Environment

* **Kendo UI version:** 2020.1.219
* **Browser:** Android 10 Web Browser 

Unplanned
Last Updated: 25 Feb 2020 14:46 by Graeme

Bug report

The PDFViewer HTML helper incorrectly serializes the passed to its "File" configuration URL, when the URL has an ampersand(&) sign in it. In the output of the HTML helper, the ampersand is changed with its ASCII code - "\u0026"

  • The issue is reproducible both in the UI for ASP.NET Core and UI for ASP.NET MVC suites.

Reproduction of the problem

  1. Create an ASP.NET Core or MVC project
  2. Paste the below code in it and run it
    @(Html.Kendo().PDFViewer() .Name("pdfviewer-test") .PdfjsProcessing(pdf => pdf .File("https://myrandomcomain.com/api/MyFolder/GetPDF?reference=xxxxxxxx&param1=0&param2=100&contentType=application/pdf") ) .Height(400) )
  3. View the source of the opened page and see the generated Javascript code

Current behavior

The generated code is:
jQuery("#pdfviewer-test").kendoPDFViewer({"pdfjsProcessing":{"file":{"url":"https://myrandomcomain.com/api/MyFolder/GetPDF?reference=xxxxxxxx\u0026param1=0\u0026param2=100\u0026contentType=application/pdf"}},"height":400});

Expected/desired behavior

The expected result is
jQuery("#pdfviewer-test").kendoPDFViewer({"pdfjsProcessing":{"file":{"url":"https://myrandomcomain.com/api/MyFolder/GetPDF?reference=xxxxxxxx&param1=0&param2=100&contentType=application/pdf"}},"height":400});

Environment

  • Kendo UI version: 2020.1.219
  • jQuery version: x.y
  • Browser: [all]
Unplanned
Last Updated: 19 Feb 2020 08:10 by ADMIN

Hello,

 

At the moment I'm using the ImageBrowser in the Kendo editor.

A user contacted me and reported she would like to browse through the images in the ImageBrowser in a list view instead of tile view (thumbnails with text).

However, I couldn't find a suitable way to achieve this.

Does the current imagebrowser/editor have this functionality and if so, could you help me achieve this please?

 

Kind regards,

Joran

Unplanned
Last Updated: 18 Feb 2020 11:30 by ADMIN

Bug report

Reproducible in Chrome and Firefox. Not reproducible in IE11.

Reproduction of the problem

Dojo example.
There are two Menus. In the first one navigation is triggered from the function passed to the "Sub Item 2" item's url option. In the second Menu navigation is triggered in the Menu's select event handler.

  1. Hover "Item 2" and click "Sub Item 2"
    The wiki page will open in a new tab.
  2. Check the Menu in the original tab with the dojo.

Current behavior

Doing this in the first Menu, results in the submenu remaining open.

Expected/desired behavior

The submenu should close in both scenarios, since closeOnClick is enabled by default and the select event fires before triggering the navigation.

Environment

  • Kendo UI version: 2020.1.114
  • jQuery version: x.y
  • Browser: [Chrome XX | Firefox XX]
Unplanned
Last Updated: 17 Feb 2020 09:27 by ADMIN
Created by: Peter
Comments: 0
Category: Grid
Type: Feature Request
0

At current when working with the french culture, the year in the date will default be represented with 2Y (dd/MM/yy)

This potentially creates a problem for dates>2030, a date like 01/01/30 would be save as 1930 instead of 2030. 

When looking at other culture such nl-BE, en-GB, 4 digits are always used for the year.

I propose to change this also for the french culture so that dd/MM/yyyy would become the standard format.

 

PS: You can download the culture file and change it, but you'd experience a problem with the popup editor in combination with a display template... in this case the local culture file will be ignored and 2 digits would still be used for the date

Unplanned
Last Updated: 05 Feb 2020 11:12 by ADMIN
Created by: Victor
Comments: 2
Category: UI for ASP.NET Core
Type: Feature Request
1
Add support for scaffolding from the command line, similarly to the way views and templates can be generated with the dotnet-aspnet-codegenerator razorpage command.
Unplanned
Last Updated: 31 Jan 2020 15:25 by ADMIN

When using .BindToLocation(true) it would be great if the developer had either a .Skip(string) or .Skip(string array) (or .Exclude(string) or .Exclude(string array).

This is useful because in ASP.NET Core when using Razor Pages, the site can be organized into Folders.  That Folder structure shows up in the URL even though there might not be an equivalent page.

As an Example, I have the following folder structure:

Pages --> Alerts --> AlertAvailableUnits 

The resulting URL in ASP.NET Core is:

https://localhost:44313/Alerts/AlertAvailableUnits 

Now, let's say I have the following Breadcrumb definition:

@(Html.Kendo().Breadcrumb()
.Name("breadcrumb")
.BindToLocation(true)
.Navigational(true))

This results in the following Breadcrumb:

Home > Alerts > AlertAvailableUnits

 

However...if I had an Exclude or Skip function then I could create the following definition:

@(Html.Kendo().Breadcrumb()
.Name("breadcrumb")
.BindToLocation(true)
.Navigational(true)
.Skip("Alerts"))

// OR As a String Array

@(Html.Kendo().Breadcrumb()
.Name("breadcrumb")
.BindToLocation(true)
.Navigational(true)
.Exclude(["Alerts"])

This would result in the following Breadcrumb:

Home > AlertAvailableUnits

 

This is what I'm after.  Since BindingToLocation has to parse the URL anyway to produce the Breadcrumb, then the Developer should have a way to Exclude or tell it to ignore/skip a part of the URL.

This would be complementary to my previously requested Breadcrumb Feature .IgnoreLastXSegments(integer).

The difference between the two is -- in the .Exclude/Skip case the segment I want to ignore is Known and occurs (usually) in the middle of the URL.  In the IgnoreLastXSegments, the URL contains parameters that always show up at the end.

Implementing these Features would make the BindingToLocation feature much more useful and promotes code reuse.  It is also a much simpler implementation than defining Items which does not promote code reuse.

Thanks for your consideration.

Unplanned
Last Updated: 28 Jan 2020 10:43 by ADMIN
Created by: Dennis
Comments: 1
Category: UI for ASP.NET Core
Type: Feature Request
2

I am looking for an extension to the Grid Columns fluent api that adds .Exportable(true or false).  Exportable(true) would be the default and indicate that this column does get exported when exporting to Excel (or PDF).  Exportable(false) would indicate that the column does NOT get exported.

Imagine the following Grid Definition:

@(Html.Kendo().Grid<Services>
    ()
    .Name("gridMain")
    .Columns(columns =>
    {
        columns.Bound(p => p.ServiceId).ClientTemplateId("rowNumTemplate").Title("Row").Width(50);
        //columns.Bound(p => p.ServiceId).ClientTemplateId("cmdsTemplate").Title("Cmds").Width(125).Media("(min-width: 768px)");
        columns.Bound(p => p.ServiceCode).Media("(min-width: 768px)");
        columns.Bound(p => p.ServiceId).ClientTemplateId("xsTemplate").Title("Service / Desc / Code").Media("(max-width: 768px)");
        columns.Bound(p => p.ServiceId).ClientTemplateId("serviceTemplate").Title("Service / Desc").Media("(max-width: 992px) and (min-width: 768px)");
        columns.Bound(p => p.ServiceName).Media("(min-width: 992px)");
        columns.Bound(p => p.ServiceDescription).Media("(min-width: 992px)");
        columns.Bound(p => p.ServiceActive).ClientTemplateId("activeTemplate").Width(60).Media("(min-width: 768px)");
        columns.Bound(p => p.ServiceId).ClientTemplateId("btnsTemplate").Title("View/Edit/Del").Width(150);
        //columns.Bound(p => p.ServiceId).ClientTemplateId("xsCmdsTemplate").Title("Cmds").Media("(max-width: 768px)");
    })
    .Scrollable(scrollable => scrollable.Endless(true))
    .Pageable(p => p.Numeric(false).PreviousNext(false))
    .ToolBar(t => t.Search())
    .Search(s => { s.Field(c => c.ServiceCode); s.Field(c => c.ServiceName); s.Field(c => c.ServiceDescription); })
    .Resizable(resize => resize.Columns(true))
	.ToolBar(t => t.Excel().Text("Excel"))
    .Excel(excel => excel
		.FileName("ABT_Services.xlsx")
		.Filterable(true)
	)
    .DataSource(dataSource =>
    dataSource
    .WebApi()
    .PageSize(Model.GridPageSize)
    .Model(model =>
    {
        model.Id(p => p.ServiceId);
    })
    .Events(events => events.Error("errorHandler").RequestEnd("gridMainRequestEnd"))
    .Read(read => read.Action("Get", "Services"))
    )
)

What I would like to do is define a column like the following:

        columns.Bound(p => p.ServiceId).ClientTemplateId("rowNumTemplate").Title("Row").Width(50).Exportable(false);

In the case above, the "Row" column would not be Exported to Excel.

If you take a closer look at the Columns definition above you will see that the configuration is implemented to support responsive page sizing.  Because the current implementation of Export to Excel does not allow an Exportable(true/false), I get these columns that I don't want in the exported Excel.

Although there appear to be workarounds (like keeping a second hidden grid -- a poor solution at best), none would be as useful to a Developer as defining an Exportable(true/false) as part of the Column configuration.

Thanks for considering my request.

Unplanned
Last Updated: 24 Jan 2020 07:22 by ADMIN

Hi,

I have tried to get the Timeline datasource to refresh when a datarow command in a grid is selected.

The gridrow has a patientid, and I would like to show a Timeline for the patient contact dates with the hospital.

The trouble is that the datasource for Timeline don't have the same functionality for filtering/parameters as the 'normal' datasource, and does not support .Data(..).

Example (not implemented in the Timeline datasource):

.Read(read => read.Action("GetSurgeryEvents", "TimeLine").Data("setTimeLineParam"))

Unplanned
Last Updated: 23 Jan 2020 16:38 by Laurie
Created by: William
Comments: 3
Category: Grid
Type: Feature Request
9

I'm currently evaluating the ASP .Net Core Components and whilst I'm liking it so far, I have to say - the documentation leaves a lot to be desired.

At the moment, I am trying to use grid and looking at documentation, I have no idea if I am meant to be looking in Kendo.Mvc.UI.Fluent or Kendo.Mvc.UI - and when I am there and find an item, there just isn't enough detail. In addition, the demos section appears to actually be more helpful and I'm constantly looking there.

What caused me to write this is that I have simply enabled GridFilterMode.Row on an instance and whilst I like it, I want to change the default from "Is Equal To" to "Contains"... I have been experimenting for the past few hours without any luck and I'm going round in circles on documentation:

I can see that Filterable requires GridFilterMode, but the documentation is lacking - https://docs.telerik.com/aspnet-core/api/Kendo.Mvc.UI/GridFilterMode#kendomvcuigridfiltermode

I then try to find the filterable modes documentation, but, half the features/methods just don't seem to have any affect whatsoever.

Personally, I'm having great luck learning about your components from the demo section and adapting the code to suite my needs - but, if there isn't a demo, it appears to be a very hard task to learn what is and isn't possible.

1 2 3 4