Copied to clipboard

Flag this post as spam?

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


  • Kevin Lawrence 183 posts 350 karma points
    Oct 03, 2013 @ 10:51
    Kevin Lawrence
    0

    6.1: How can I send updated model after Http post?

    I have a post action in one of my surface controllers, during the action the model becomes updated, however when I perform:

    return CurrentUmbracoPage();

    It returns the model before the action was called, so my question is, how can I send an updated model through the pipeline before returning the current page?

    Thanks

    Kev

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 03, 2013 @ 11:14
    Ismail Mayat
    0

    Kevin,

    I think this is fixed in 6.1.6? See http://our.umbraco.org/forum/using/ui-questions/44136-Umbraco-6-MVC-form-action-advice there is link to issue on issue tracker http://issues.umbraco.org/issue/U4-1339

    Hope this helps.

    Regards

    Ismail

  • Kevin Lawrence 183 posts 350 karma points
    Oct 03, 2013 @ 16:02
    Kevin Lawrence
    0

    Hi Ismail

    I'm not sure if this is the same thing, I'll download the source and see if I can check.

    Thanks

    Kev

  • Kevin Lawrence 183 posts 350 karma points
    Oct 03, 2013 @ 17:39
    Kevin Lawrence
    0

    Hi Ismail

    I've tried it against 6.1.6 and it didn't make any difference, so I'm still searching for a work-around for this particular problem.

    Thanks

    Kev

Please Sign in or register to post replies

Write your reply to:

Draft