Incase anyone else comes across the issue, I found the root cause.
The current project is architected in a way that allows the client to choose various modules to include on a page. The modules, including a form (login) module, were being rendered via the Umbraco.RenderTemplate method. Rendering via this method appears to block Temp Data and View Data, including Model State. Refactoring the Umbraco.RenderTemplate to Html.RenderPartial resolved the issue
Surface Controller Support
Are Surface Controllers still known to be working in 7+?
While the majority of the functionality is intact, I cannot seem to get Model State, View Data or Temp Data to bubble up to the partial on post back.
I have tried all implementation varieances noted in the documentation found here:
http://our.umbraco.org/documentation/Reference/Mvc/forms
Any feedback is appreciated!
Thanks,
Matt
Incase anyone else comes across the issue, I found the root cause.
The current project is architected in a way that allows the client to choose various modules to include on a page. The modules, including a form (login) module, were being rendered via the Umbraco.RenderTemplate method. Rendering via this method appears to block Temp Data and View Data, including Model State. Refactoring the Umbraco.RenderTemplate to Html.RenderPartial resolved the issue
is working on a reply...