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?
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...).
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!
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
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
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!
is working on a reply...