I have server bound grid and a set message to be displayed when no data exists. Below is my aspx view for the grid:
<% Html.Kendo().Grid(Model.BillingReport)
.Name(
"billing_grid"
)
.Columns(columns =>
{
columns.Bound(c => c.BillDate).Format(
"{0:M/d/yyyy}"
);
columns.Bound(c => c.Account);
columns.Bound(c => c.BillProgram);
columns.Bound(c => c.Total).Format(
"{0:c}"
);
})
.NoRecords(
"No records found."
)
.Resizable(resizable => resizable.Columns(
true
))
.DataSource(dataSource => dataSource.Server())
.Render(); %>
On the rendered page, I see the column headers and nothing in the grid. On the browser code, I see:
<
tr
class
=
"k-no-data"
>
<
td
colspan
=
"5"
></
td
>
</
tr
>
Why am I not seeing the message?