Grid NoRecords message is not rendered when using template and no DataSource is set #6598
Labels
Bug
C: Grid
FP: Completed
Sync status with associated Feedback Item
S: Wrappers (ASP.NET MVC)
SEV: Medium
Milestone
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
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
Environment
Ticket ID: 1538737
https://feedback.telerik.com/aspnet-mvc/1538907-no-records-showing-default-instead-of-template-in-grid
The text was updated successfully, but these errors were encountered: