Completed
Last Updated: 25 Sep 2026 13:11 by ADMIN
Graeme
Created on: 12 Oct 2021 11:05
Category: Grid
Type: Bug Report
1
NoRecords is showing the default instead of template message in Grid

When using template and no DataSource is set Grid NoRecords message is not rendered.

 

Reproduction of the problem

Define a 'No Records' with template similar to the following article example: https://docs.telerik.com/aspnet-mvc/html-helpers/data-management/grid/templates/no-records

 

@(Html.Kendo().Grid<Grid_Template.Controllers.GridModel>()
    .Name("Grid1")
    .NoRecords(n => n.Template("string HTML template, not centered"))
)

Current behavior

The default message for missing record is displayed: No records available.
"autoBind":false is applied to serialization

 

Expected/desired behavior

The message from the template is displayed: "string HTML template, not centered"

Workaround:
Add .DataSource(d => d.Ajax()) to the Grid configuration

 

 

@(Html.Kendo().Grid<Grid_Template.Controllers.GridModel>()
    .Name("Grid1")
    .NoRecords(n => n.Template("string HTML template, not centered"))
        .DataSource(d => d.Ajax())

)

 

https://github.com/telerik/kendo-ui-core/issues/6598

 

 

1 comment
ADMIN
Rumen
Posted on: 25 Sep 2026 13:11

Hi Graeme,

The reported issue has been fixed. The Grid MVC wrapper now correctly renders the configured NoRecords template when server binding is used without an explicitly configured DataSource.

The fix is available starting with the R1 2023 release, version 2023.1.328.

Regards,
Rumen
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.