I am struggling to get a foreign key to display it's name in Kendo Grid. In my normal MVC views the name displays just fine.
I am using a code first approach in MVC with DBContext instead of using EDMX models.
Could someone please help me with this issue.
Help would be appreciated :)
Here is the Kendo Grid code for my view:
Here is the code for my ProvinceViewModel:
Here is the code for my Province class:
Here is the code for my ProvinceController:
Here is the code for my CountryViewModel:
Here is the code for my Country class:
And here is the code for my CountriesController: