Completed
Last Updated: 06 Oct 2020 15:23 by ADMIN
Release 2020.R2.SP1
Ravi
Created on: 22 Apr 2020 14:52
Category: Grid
Type: Bug Report
0
NoRecords method of Kendo grid behaves differently in version 2020.1.406 compares to 2018.2.516

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>
3 comments
ADMIN
Nencho
Posted on: 14 May 2020 06:51

Hello, Vijay,

We plan to release a fix for this issue with our next Service Pack. In addition, I would suggest tracking this item, and once Completed, the fix will also be released in the next internal build (usually we release such each Wednesday)

Hope this information helps.

Regards,
Nencho
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Ravi
Posted on: 07 May 2020 07:07

Hi,

Could you please let us know when we can expect the fix for this issue?

Thanks

ADMIN
Nencho
Posted on: 23 Apr 2020 12:29

Hello, Vijay,

Thank you for reaching out with the bug report!

I was able to replicate the described issue, and I can confirm that it is a bug. That said, I have converted this thread to a BugRerport. 

Thank you for pointing that issue out. As a token of gratitude, I have updated your Telerik points.

Regards,
Nencho
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.