I am having an issue with combo boxes in my Kendo grid when the text includes special characters.
I have this setup...
// Grid column definition
columns.ForeignKey(b => b.OreSourceId, (System.Collections.IEnumerable)ViewData["OreSources"], "Id", "Description")
// Foreign key editor template
.OptionLabel(">> Select <<")
// Filling of the ViewData
var dbDataService = GetService<
ViewData["OreSources"] = dbDataService.ToLookUp<
This generally works perfectly and no issues.
Then suddenly the entire grid stopped functioning properly (after user edits). All combos (there are many in the grid) stopped working, edit mode would not work, and the delete button generated an error (not important what the error is - just saying).
I tracked it down to being a dodgy text value in one of the records being used by the combobox.
This text "21 Central Reef BH 1#*" caused the page to break. If I updated the database and removed the #* then everything works perfectly again.
It is however a requirement by the client that they are able to use special characters as part of their naming conventions so I have to find a way to work around this.
Any ideas please?