Hello, i have a web api service with the CamelCasePropertyNamesContractResolver as contract resolver and the report viewer is not working, if i change this to DefaultContractResolver, the report viewer works.
there is any way to make it work with the camel case?
YDYuvaraj Devarajan Syncfusion Team May 11, 2017 04:39 AM UTC
Thanks for contacting Syncfusion support.
Currently we don’t have option to use camelCase for ReportViewer control. Since we have used the Pascal Case property for the resulted JSON value in WebAPI controller to process the report from server side. So We cannot able to decorate the camelCase JSON data to PascalCase format in IReportController. Instead of configuring the camelCase globally in Global.asax.cs file, we request you to create a “CamelCaseControllerConfigAttribute” class to decorate the camelCase for the required API classes using “CamelCaseControllerConfig” attribute as shown in below code example.