Copied to clipboard

Flag this post as spam?

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


  • SkyAngel 4 posts 24 karma points
    Oct 08, 2013 @ 11:56
    SkyAngel
    0

    How to get TempData in a macro partial?

    Hi,

    I have an action whithin a  Macro partial. The problem comes when I try to get TempData from the partial view i return from the action isn't able to get the TempData variable.

    BTW, I set TempData in my post function. If I do return CurrentUmbracoPage it won't work, but instead, if I do RedirectToCurrentUmbracoPage, it works.

    Is it a bug? Or is there any special procedure to get that?

     

    Thanks!

  • Kevin Lawrence 183 posts 350 karma points
    Dec 03, 2013 @ 16:38
    Kevin Lawrence
    0

    I'm also facing a similar issue, there is a situation where I want to populate TempData and then return CurrentUmbracoPage().

    Did you get anywhere with this?

    Thanks

  • Connie DeCinko 931 posts 1160 karma points
    Mar 10, 2015 @ 22:36
    Connie DeCinko
    1

    Similar issue. Why is no one responding to these forums?

Please Sign in or register to post replies

Write your reply to:

Draft