Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Please help, trying to get the context node from with in a Surface Controller action Umbraco 4.11.1
You need to pass the current page as parameter within the action method:
public ActionResult Index(IPublishedContent currentPage) {...}
Hi, how can i pass an interface into a method? That does not make sense :). Charlie :)
Sure this makes sense :)
Just pass the @Model.Content to the action you call ;-)
Hey, sorry not really what i am supposed to being doing here?. Could you give me an example? Thanks. Charlie :)
I have a partial that is using an Ajax form and i have a custom model on the partial :). Thanks. Charlie
Hello this has now been solved with a bit of a hack. Seems it was an AJAX problem
Sorry I was not able to answer yesterday. I'm glad you solved the problem. Handling asynchronous requests are always a bit more difficult.
No problem, thanks for trying :)
Can you post your solution ? I'm having the same problem
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Get the context node within a Controller action 4.11.1 :)
Please help, trying to get the context node from with in a Surface Controller action Umbraco 4.11.1
You need to pass the current page as parameter within the action method:
Hi, how can i pass an interface into a method? That does not make sense :). Charlie :)
Sure this makes sense :)
Just pass the @Model.Content to the action you call ;-)
Hey, sorry not really what i am supposed to being doing here?. Could you give me an example? Thanks. Charlie :)
I have a partial that is using an Ajax form and i have a custom model on the partial :). Thanks. Charlie
Hello this has now been solved with a bit of a hack. Seems it was an AJAX problem
Sorry I was not able to answer yesterday. I'm glad you solved the problem. Handling asynchronous requests are always a bit more difficult.
No problem, thanks for trying :)
Can you post your solution ? I'm having the same problem
is working on a reply...