Copied to clipboard

Flag this post as spam?

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


  • marthin 87 posts 106 karma points
    Feb 05, 2010 @ 16:33
    marthin
    0

    Redirect after modal

    Hi,

    iv got a custom section where i'v implemented a create button on the context menu and this pops a modal where i'v got some options for the node that will be created. Once if pressed the save button, how do I (in my.net class) close the modal and redirect the page to edit page for that given node? So in short, how do I replicate the redirect that happens when you create a node in the content tree?

     

    Best Regards

    Marthin

  • Nik Wahlberg 639 posts 1237 karma points MVP
    Feb 05, 2010 @ 18:10
    Nik Wahlberg
    0

    My first suggestion woulod be to create some JS to redirect the top frame or the parent frame. So, once you have sent your postback, write out your JS to redirect the parent frame to the the url (and any urls params...).

    Make sense?

    Thanks,
    Nik

  • marthin 87 posts 106 karma points
    Feb 08, 2010 @ 08:18
    marthin
    0

    Okej, I know that i can do this by creating my own JS, but I was hoping for some standard built-in function to Umbraco =) but if there isn't on then i'll just make my own. Thx for the help!

Please Sign in or register to post replies

Write your reply to:

Draft