Maybe see if you can get the example there to work.
It's hard to know without seeing your SurfaceController where exactly the spanner is in your works!
could be something silly like the controller not being public, or using the word controller in the Html.Action, or the model you are sending through to the surface controller doesn't match the parameter you have on your action - try using an id instead of an full media item...
hope that helps give you a steer, sorry couldn't be more exact.
Invoking actionresult when the action is inherited by RenderMVCController
How can I call a Controller ActionResult that inherits from RenderMVCController from the view.
This dosen't work
Also tried RenderAction and also changed the controller to surfacecontroller but the routing path dosent exist.
Hi Alexander
There is some info here about rendering SurfaceController Child Actions:
https://our.umbraco.com/Documentation/Reference/Templating/Mvc/child-actions#creating-a-child-action
Maybe see if you can get the example there to work.
It's hard to know without seeing your SurfaceController where exactly the spanner is in your works!
could be something silly like the controller not being public, or using the word controller in the Html.Action, or the model you are sending through to the surface controller doesn't match the parameter you have on your action - try using an id instead of an full media item...
hope that helps give you a steer, sorry couldn't be more exact.
regards
marc
is working on a reply...