Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt Linsenbardt 24 posts 147 karma points
    Feb 20, 2014 @ 02:42
    Matt Linsenbardt
    0

    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

  • Matt Linsenbardt 24 posts 147 karma points
    Feb 21, 2014 @ 20:49
    Matt Linsenbardt
    101

    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

Please Sign in or register to post replies

Write your reply to:

Draft