Completed
Last Updated: 20 Nov 2020 07:43 by ADMIN
Release 2020.R3.SP.next
Created by: Ken
Comments: 0
Category: PDFViewer
Type: Bug Report
5

Bug report

A server side exception:
System.OverflowException: 'Value was either too large or too small for a Double.'
is thrown on attempting to serialize an existing .pdf file converted to FixedDocument.

Reproduction of the problem

  1. Use the DPL Processing demo of the PDFViewer in the MVC demos project.
  2. Instead of the default sample.pdf load the Development Plan.pdf file provided in Ticket ID: 1467984
public ActionResult GetInitialPdf(int? pageNumber)
{
    //exception with Development plan.pdf file:
    string filePath = Path.Combine(Server.MapPath("~/Content/web/pdfViewer"), "Development Plan.pdf");
    //it works with the sample.pdf file:
    //string filePath = Path.Combine(Server.MapPath("~/App_Data"), "sample.pdf");
    FileStream stream = new FileStream(filePath, FileMode.Open, FileAccess.Read);
    JsonResult jsonResult;
    FixedDocument doc = FixedDocument.Load(stream);

    if (pageNumber == null)
    {
        jsonResult = Json(doc.ToJson(), JsonRequestBehavior.AllowGet);
    }
    else
    {
        jsonResult = Json(doc.GetPage((int)pageNumber), JsonRequestBehavior.AllowGet);
    }

    jsonResult.MaxJsonLength = int.MaxValue;
    return jsonResult;
}

Current behavior

The exception is thrown during the FixedDocument JSON serialization:

doc.ToJson()

at the following place: ConvertToList method in ArrayExtension class (Telerik.Web.PDF namespace)

Expected/desired behavior

No exceptions are thrown during serialization.

Environment

  • Kendo UI version: 2020.2.513
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 13 Nov 2020 13:51 by ADMIN
Release 2020.R3.SP.next

As the title says, I'm getting script errors when attempting to perform a delete function with an MVC grid when in MobileMode.Phone.  The attached project will illustrate the problem.  Just run it and select delete button for one of the items in the far right column.  A popup will appear, but don't click either of the buttons on it yet.  Inspect the html with whatever browser you use (I'm using chrome so I just right click and choose select).  There will be a "Cannot read property 'data' of undefined" error.  If you then click the "Delete" button, you'll get a "Cannot read property 'resolve' of undefined".  Then click on the "Cancel" button and you'll get "Cannot read property 'reject' of undefined".  I'll attach a pic showing these errors.

I need to be able to utilize my grid in mobile phone mode and delete items.  Please help with this.

Also, to get this sample project small enough, I removed the files from the MobileSaveError\lib\KENDOUIMVC\2020.3.915.545 folder.  I figure you can replace those easily enough.  Is that the right thing to do in this case?  I thought maybe I could remove the items in the Packages folder as NuGet/VS will usually restore those.  But wasn't 100% sure on that.  So if you can tell me or link me to an article about what we can remove to shrink the project size for samples when we need to send them, that would be great.

Thank you,
Steven

Completed
Last Updated: 10 Nov 2020 15:25 by ADMIN
Release 2020.R3.SP.next
Created by: Jon
Comments: 1
Category: Dialog
Type: Bug Report
0

I have a dialog defined but the "mydialog-control" CSS class never gets added to the dialog when it's rendered.  Why is that happening?

@(Html.Kendo().Dialog()
    .Name("SalesTypeWarning")
    .Title("Warning")
    .Content(warningTextContent)
    .Modal(true)
    .Closable(false)
    .Visible(false)
    .Width(600)
    .HtmlAttributes(new { @class = "mydialog-control"})
    .Actions(act =>
    {
      act.Add().Text("Continue").Primary(true).Action("allowSalesTypeChange");
      act.Add().Text("Cancel Change").Action("cancelClicked");
    })
    .Deferred(true)
)
Completed
Last Updated: 09 Nov 2020 12:22 by ADMIN
Created by: Nigel
Comments: 1
Category: FileManager
Type: Bug Report
1

A previously completed bug described here: https://feedback.telerik.com/aspnet-mvc/1476295-moving-files-can-result-in-permanent-deletion seems to have resulted in code that has the potential to delete ALL files if moved a few times.

I have not had a chance to get the latest version since the above mentioned bug was marked as completed, but I have made a couple of attempts to test the new functionality in your Demo system on this page: https://demos.telerik.com/aspnet-mvc/filemanager

Repeating the previous test, I have now found that a few move actions results in what appears at first to be a Copy, rather than a Move, but then a subsequent refresh reveals ALL files have been deleted.

Steps to reproduce on the Demo system:

  • Create a New Folder within the Images folder
  • Select all images and move them to the new folder
  • Open the new folder
  • Select all images and move them back to the Images folder
  • Repeat the Move actions

I found that after repeating, the files did not appear to move, but seemed had been copied. But a refresh of the Demo page shows that all images had been deleted.

Following the above, here are a couple of screenshots:

Completed
Last Updated: 03 Nov 2020 08:01 by ADMIN
Release 2020.R3.SP.next
Created by: Kalinka
Comments: 0
Category: TabStrip
Type: Bug Report
0

Bug report

Reported in Ticket ID: 1472894.

Reproduction of the problem

Reproducible in this demo.

Current behavior

The content of the tab is not focusable.

Expected/desired behavior

The tabs themselves and the active tab's content should be focusable: https://www.w3.org/TR/wai-aria-practices/examples/tabs/tabs-1/tabs.html

Environment

  • Kendo UI version: 2020.2.617
  • jQuery version: x.y
  • Browser: [all ]
Completed
Last Updated: 02 Nov 2020 13:08 by ADMIN
Release 2020.R3.SP.next

Bug report

When the Validator component configuration is defined using the HtmlAttributes method, the validation message for the component is rendered inside the component's DOM structure. This results in appearing of the validation message between the component's input and popup list.

  • If the validation message is defined using HtmlHelper as follows:
    @Html.ValidationMessageFor(model => model.SelectedOnsiteServiceType)
    The reported issue is not reproduced.

  • For demo project, please refer to ticket 1455511

Reproduction of the problem

  1. Define a MultiSelect inside a form as follows:
    @(Html.Kendo().MultiSelect() .Name("Months") .Placeholder("Start Typing...") .HtmlAttributes(new { style = "width:350px;", required = "required", data_required_msg = "Months is a Required Field", }) .DataSource(source => { source.Read(read => { read.Action("PopulateMonths", "Home"); }); }) )
  2. Define the Validator component as follows:
    $(function () { $("form").kendoValidator(); });

Current behavior

The validation message appears between the input and popup of the component. The popup field doesn't cover the validation message.
ezgif-2-b558bc96463c

Expected/desired behavior

The validation message should be inserted after the MultiSelect component in the DOM tree. Once the popup of the component appears on the screen, it should be stuck to the input field and cover the validation message.
ezgif-2-1bc878419b58

Environment

  • Kendo UI version: 2020.1.219
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 29 Oct 2020 10:56 by ADMIN
Release 2020.R3.SP.next

Bug report

When a Badge is configured in a Button through the Html Helpers in UI for ASP.NET MVC app, the color of the badge is not correctly changed through the ThemeColor helper.

Reproduction of the problem

  1. Open the Button Badges Demo - https://demos.telerik.com/aspnet-mvc/button/badges

Current behavior

The color of the badges is not correctly set. For example, even if changing the themes, the color of the "Error" badge is never red (as for example in UI for ASP.NE Core).

Expected/desired behavior

The color of the Badge in a Button should be correctly set by using the ThemeColor option.

Environment

  • Kendo UI version: 2020.3.915
  • Browser: [all ]
Completed
Last Updated: 29 Oct 2020 10:29 by ADMIN
Release 2020.R3.SP.next
Created by: Andy
Comments: 0
Category: PanelBar
Type: Bug Report
0

Bug report

Reproduction of the problem

Inspect the PanelBar in the Templates demos (MVC/Core).

Current behavior

The root items are rendered as li elements nested directly within a div wrapping element.

Expected/desired behavior

The li elements should be nested in a ul element.

Note: Consider handling the scenario when a Kendo UI for jQuery PanelBar is initialized from a div element.

Environment

  • Kendo UI version: 2020.2.617
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 27 Oct 2020 10:44 by ADMIN
Release 2020.R3.SP.next

### Bug report

When the GroupPaging option is enabled and the grid is bound to a DataTable, the server error "Value cannot be null" is observed.


### Environment

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

Completed
Last Updated: 26 Oct 2020 12:40 by ADMIN

If you have a button in the ToolBar that uses an image(rather than an icon/font), the image's vertical alignment is different in the overflow area than it is in the main ToolBar area.

The button in the overflow area has the image up too high compared to the text, which also causes the button to be taller than the "main" button as well as taller than other overflow buttons using an icon/font.

Dojo example

 

The example is simple 2 buttons(one using an icon and one with an image) with overflow: "both" so you can see both styles at the same time for comparison.

The icon button is the same in both places while the image button in the overflow area is different/taller/etc.

 

Is this a bug or expected behaviour?  If it is a bug, is there any appropriate custom CSS to make the styling consistent?

 

Thanks.

Completed
Last Updated: 26 Oct 2020 07:27 by ADMIN
Release 2020.R3.SP.next

Bug report

JPG images can be cropped only in 2 directions: right to left and bottom to top.

Reproduction of the problem

Reproducible in the demos.

Current behavior

Expected/desired behavior

Images can be cropped in all directions.

Environment

  • Kendo UI version: 2020.3.1021
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 23 Oct 2020 14:09 by ADMIN
Release 2020.R3.SP.next
Created by: Nigel
Comments: 2
Category: FileManager
Type: Bug Report
2

If a large number of files are moved using the drag & drop feature, it is very likely that some will get permanently deleted in the process. This is due to the Destroy routine being initiated before the Create routine has completed. Using the demo page here https://demos.telerik.com/aspnet-mvc/filemanager I've been able to replicate the loss of files. Steps are simply:

  • Create a new folder inside the Images folder
  • Drag the 10 images into this new folder
  • Drag them back
  • Repeat
  •  

Almost immediately, you will find there's no longer 10 images as the Create routine fails to complete before the Destroy routine is initiated resulting in 1 or more files being lost. With very little effort, I was able to reduce the 10 images down to 6 - I would class this as critical.

After 1 move operation, the 10 files are now just 8:

Completed
Last Updated: 23 Oct 2020 12:33 by ADMIN
Release 2020.R3.SP.next
Created by: Greg
Comments: 1
Category: FileManager
Type: Bug Report
2

Hello, our file manager makes 2 read request in a row when the page is loaded, when we load a new path, and when a directory is clicked in the tree view.

Is this normal?

Thanks!

Completed
Last Updated: 16 Oct 2020 08:36 by ADMIN
Release 2020.R3.SP.next

Bug report

Reproduction of the problem

Dojo example.

  1. Click the button to apply new position to the Window

Current behavior

The Window is positioned in the top left corner of its container

If top and left position values are set in pixels instead of percent, positioning works as expected.

Expected/desired behavior

The Window is positioned according to the specified top and left values.

Environment

  • Kendo UI version: 2020.3.915
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 14 Oct 2020 12:39 by ADMIN

Bug report

Related item with FM issues/enhancements: telerik/kendo#10473

Reproduction of the problem

  1. Set the Create end point to throw an error, e.g: throw new Exception("some message");
  2. Click the New Folder button in the FileManager

Current behavior

The FileManager's Error event fires, its dataSource throws a js exception:
kendo.all.js:165968 Uncaught Error: Error! The requested URL returned 500 - error

and the added folder is still displayed in the FileManager view.

Expected/desired behavior

The view is refreshed and the added folder is removed.

Environment

  • Kendo UI version: 2020.1.219
  • jQuery version: x.y
  • Browser: [all ]
Completed
Last Updated: 14 Oct 2020 08:36 by ADMIN
Release 2020.R3.SP.next
Created by: Margarita
Comments: 0
Category: PDFViewer
Type: Bug Report
0

Bug report

There is empty title attribute of PDFViewer zoom level combobox

Reproduction of the problem

  1. Go to https://demos.telerik.com/kendo-ui/pdfviewer/index
  2. Inspect the zoom level combobox

Current behavior

Empty "title" attribute

Expected/desired behavior

The "title" attribute of the combobox explains the purpose of the combobox, e. g. Zoom level combobox

Environment

  • Kendo UI version: 2020.2.617
  • Browser: all
Completed
Last Updated: 13 Oct 2020 11:09 by ADMIN
Release 2020.R3.SP.next

Bug report

Regression introduced in R2 2019.

Reproduction of the problem

Dojo example.

  1. Focus the empty line between the two lines with text
  2. Press Backspace key

Current behavior

The line is not deleted

Expected/desired behavior

The line is deleted

Another scenario:

  1. Click at the beginning of the third line (before "Du").
  2. Press Backspace key
  3. Press Delete key.

Delete has no effect if Backspace is pressed before that. If you continue pressing Delete, it will work, but once you press Backspace, the next time you press Delete, it won't delete the character that follows the cursor position.

Environment

  • Kendo UI version: 2020.2.617
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 12 Oct 2020 20:18 by ADMIN
Release 2020.R3.SP.next
Created by: Michael Nikolai
Comments: 0
Category: TextArea
Type: Bug Report
1

Bug report

TextAreaFor editor is missing in ASP.NET Core and ASP.NET MVC wrappers.

Environment

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

Completed
Last Updated: 06 Oct 2020 15:23 by ADMIN
Release 2020.R2.SP1

I downloaded the latest version of Kendo UI (Version: 2020.1.406) for MVC and upgraded my project to refer the latest JS, CSS and Kendo.MVC (2020.1.406.545).

NoRecords method is behaving differently in the latest version. While fetching records in progress, it displays the 'No record found' message even before completion of the action method. Please see the below image:

It was not happening in the version 2018.2.516, it was showing the 'No record found' message after completion of the action method and only if there is 0 row returned.

Below is the code of Student.cshtml view:

<h4>Student</h4>
<div class="responstable grid-wrapper custom-dropdown">
    @(Html.Kendo().Grid<Kendo2020Demo.Models.Student>()
    .Name("StudentGrid")
    .Columns(columns =>
    {
        columns.Bound(p => p.Id);
        columns.Bound(p => p.Name);
        columns.Bound(p => p.Address);

    })
              .HtmlAttributes(new { style = " min-height: 100px;" })
              .NoRecords("No record found.")
              .Scrollable()
              .Filterable()
              .Sortable()
              .ColumnMenu()
              .DataSource
                (
                  dataSource => dataSource
                  .Ajax()                               
                  .Read(read => read.Action("GetData", "Home"))
                )
              .Resizable(resize => resize.Columns(true))
              .Reorderable(reorder => reorder.Columns(true))
 )

</div>
Completed
Last Updated: 06 Oct 2020 15:18 by ADMIN
Release 2020.R1.SP1

Bug report

Using server binding does not render the NoRecords message for the Grid

Reproduction of the problem

	@(Html.Kendo().Grid(new List<Product>())    
		.Name("Grid")
		.Columns(columns => {
			columns.Bound(p => p.ProductID).Groupable(false);
			columns.Bound(p => p.ProductName);
			columns.Bound(p => p.UnitPrice);
			columns.Bound(p => p.UnitsInStock);
		})
		.NoRecords("No records found.")
		
		.Pageable()
		.Sortable()
		.Scrollable() 
		.DataSource(d=>d.Server())
		.Filterable()
		.Groupable()
	)

Workarond

A possible workaround is to use local binding by setting the AJAX binding in the DataSource, but keep the initial server binding:

	@(Html.Kendo().Grid(new List<Product>())    
		.Name("Grid")
		.Columns(columns => {
			columns.Bound(p => p.ProductID).Groupable(false);
			columns.Bound(p => p.ProductName);
			columns.Bound(p => p.UnitPrice);
			columns.Bound(p => p.UnitsInStock);
		})
		.NoRecords("No records found.")
		
		.Pageable()
		.Sortable()
		.Scrollable() 
		.DataSource(d=>d.Ajax().ServerOperation(false))
		.Filterable()
		.Groupable()
	)

Environment

  • Kendo UI version: 2017.3.1026
1 2 3