I have a Web API that is being hosted on one server. The actual website using kendo is hosted on a different server. Looking at samples, for the grid I have to provide a model like this:
@(Html.Kendo().Grid(Something.Account)
.Name("grid")
...
However, the model is on the other server. I guess I could copy over the dll with the model but that does not sound like a good approach. Isn't there somehow a way to do this dynamically by accessing the WebApi, discover the columns and then render them or something like that, hence the model would not be required.
@(Html.Kendo().Grid(Something.Account)
.Name("grid")
...
However, the model is on the other server. I guess I could copy over the dll with the model but that does not sound like a good approach. Isn't there somehow a way to do this dynamically by accessing the WebApi, discover the columns and then render them or something like that, hence the model would not be required.