I have form with a Telerik grid. Within the grid toolbar, I have a custom button which I would like to open a popup window to insert a new record.
I have followed the
Popup Form with Server/Client Validation in Window - Example and modified it to fit my scenario. However, running the application generates the following error
The model item passed into the dictionary is of type 'Telerik.Web.Mvc.GridModel', but this dictionary requires a model item of type 'Web.Models.OwnerViewModel'.
Below is an extract from the view that is hosting the grid
The following is the controller code for the grid
and the following is the controller code for Create
I would appreciate any help or a pointer to the right direction.