Declined
Last Updated: 25 May 2021 10:02 by ADMIN
xclirion
Created on: 30 Jan 2014 11:23
Category: UI for ASP.NET MVC
Type: Feature Request
4
Grid: Automatic sanitizing of the ColumnName property
It would be awesome, if an automatic sanitizing of the ColumnName property would be implemented in one of the future releases of the MVC.NET.

Reason: When binding a DataTable to the MVC-Grid and using client side pagination, a Javascript error occurs if any column inside the DataTable contains a character which is not allowed in Javascript variables (like spaces).
1 comment
ADMIN
Telerik Admin
Posted on: 31 Jan 2014 14:46
Thank you for the suggestion. 

At this point you may consider processing the DataTable column names manually (to ensure they do not contain invalid characters) and binding the grid to a "processed" copy of the DataTable.