using Umbraco.Web.Mvc;
using System.Web.Mvc;
namespace FuelCard.Portal.Cms.Controllers
{
public class PortalSurfaceController : SurfaceController
{
public const string PARTIAL_VIEW_FOLDER = "~/Views/Partials/";
public ActionResult SayHello()
{
return PartialView(PARTIAL_VIEW_FOLDER + "_Portal.cshtml");
}
}
}
So, this will load my _Portal view inside Home.
The problem is the ActionLinkI am trying to use from _Portal which is this:
Controller not being found
Hi,
@newbie here!
I have created 2 Templates.
The 1st is my Landing Page under Home node.`
`This 'hits' my Controller which is this:
So, this will load my _Portal view inside Home.
The problem is the ActionLinkI am trying to use from _Portal which is this:
The Error I get returned is this:
It is not finding my Controller.
This my Folder/Solution structure:
any pointers for poor dim me?
Thanks
is working on a reply...