This question is locked. New answers and comments are not allowed.
good morning everyone,
i am currently using the Telerik Extensions for ASP.NET MVC3 and i need to custom the message that is displayed in the Grid when there are no records. Currently, the message says "No records to display".
1. How would i be able to customize it?
2. Can i do it through the "RowTemplate" method where inside is a block of lamda code that i could call the row.NoRecordsTemplate??? If yes? how do i do that with the " row.NoRecordsTemplate "??? Not sure how to use it his properly.
currently, my code is as follows:
Thank you very much for your help. Very much appreciate it.
i am currently using the Telerik Extensions for ASP.NET MVC3 and i need to custom the message that is displayed in the Grid when there are no records. Currently, the message says "No records to display".
1. How would i be able to customize it?
2. Can i do it through the "RowTemplate" method where inside is a block of lamda code that i could call the row.NoRecordsTemplate??? If yes? how do i do that with the " row.NoRecordsTemplate "??? Not sure how to use it his properly.
currently, my code is as follows:
@{Html.Telerik().Grid(Model) .Name("grdGroup") .DataKeys(keys => keys.Add(k => k.Id) ) .HtmlAttributes(new { style = "border-style: dotted; width: 600px;" }) .Columns(columns => { columns.Bound(o => o.Code) .Width(100); columns.Bound(o => o.Name) .Width(475); columns.Bound(o => o.Year) .Width(25); }) .RowTemplate(row => { row.NoRecordsTemplate = }) .Footer(false) .Render();}Thank you very much for your help. Very much appreciate it.