Kendo grid datasource is not passing values "&" from view to controller in MVC
For instance from the below code if testIdVal value is "Interface Class & Function" . Only "Interface Class" are being passed to the controller .
.DataSource(Function(d) d.Ajax() _
.Read(Function(read) read.Action("GetResourcesForRolesForRootDomain", "Inquiry", New With {.testId= "#=testIdVal#"}).Type(HttpVerbs.Post).Data("additionalData"))) _
encodeURIComponent
aroundtestIdVal
:"#=encodeURIComponent(testIdVal)#"
or addtestIdVal
inadditinaldata
. By the way, there is a typo inadditinaldata
;) – Carsten Franke