Hy,
I am trying to display a list of data from an api model inside a TelerikGrid.
The api model is automatically generated and looks like this:
Data binding is done via a handler method in the razor page that return a JsonResult of the data list.
In this example below the column bind the property name "SalesGroup", but the bound method automatically resolves the name "salesGroup" (the name of JsonPropertyName attribute). Since the first letter is lowercase, the column does not display the value
I have currently created an extension of the Bound() method that resolves the correct name based on whether the "JsonPropertyName" attribute is present or not.
I would like to avoid using the "Bound(string memberName)" method.
Is there already a solution to my problem?
Thanks