This project is read-only.

Driver Editor with IUpdateModel parameter never gets invoked.

Topics: Customizing Orchard
Jun 12, 2013 at 5:45 PM
Does anyone know why after a postback, the override method with IUpdateModel doesn't get invoked ?

my main.cshtml layout is as followed:
@using (Html.BeginFormAntiForgeryPost())
   @Display(Model.TestButtonShape())  // <-- User Click on this    
Technically, it should invoke this method:
protected override DriverResult Editor(TestButtonPart part, IUpdateModel updater, dynamic shapeHelper) 
            updater.TryUpdateModel(part, Prefix, null, null);
            return Editor(part, shapeHelper);
That override Editor method should theoretically gets called (but it's not). What am I missing here?
Jun 26, 2013 at 7:50 AM
Not enough information. What controllers, in particular, are involved in this?