With some help from the forums and some trial and error I have created an editor that works just fine for complex objects when they are in a kendo grid.
i.e. when I have a complex object as a column in a grid this editor will edit the object and populate the complex object on the post back to the controller
However, when I am trying to use this editor in a web form ("Ajax.BeignForm") and do my post back I get an error along the lines of "The parameter conversion from type 'System.String' to type 'X' failed because no type converter can convert between these types".
- Why does this work just fine for grids, but not forms? (I'm guessing grids do some "magic" that handles the casting)
- Are there any options for having a DropDownList or similar control update a complex object instead of just a hidden string field?