I want to make a menu in a childaction so i can add this to the _layout.cshtml. How do i do this? If i want to use CurrentPage in a ChildAction i get: "Can only use UmbracoPageResult in the context of an Http POST when using the BeginUmbracoForm helper".
Do any of you got a example how to make a menu in Umbraco with a surfacecontroller? Or how do you build a menu?
p.s. i got multiple domains with different languages so i can't just take the rootnode and go from there..
SurfaceController to make a menu?
Hi all,
I want to make a menu in a childaction so i can add this to the _layout.cshtml. How do i do this? If i want to use CurrentPage in a ChildAction i get: "Can only use UmbracoPageResult in the context of an Http POST when using the BeginUmbracoForm helper".
Do any of you got a example how to make a menu in Umbraco with a surfacecontroller? Or how do you build a menu?
p.s. i got multiple domains with different languages so i can't just take the rootnode and go from there..
is working on a reply...