Hi
I am trying to make the SurcaceController from your video "The surface controller" But it wont work i should mean that i have done what is told in the video ;) where am i missing the point :D
My Code i ContactFormSurfaceController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Umbraco.Web.Mvc;
using WebApplication1.Models;
namespace WebApplication1.Controllers
{
public class ContactFormSurfaceController : SurfaceController
{
// GET: ContactFormSurface
public ActionResult Index()
{
return PartialView("ContactForm", new ContactFormViewModel());
}
}
}
My surfaceControoler dont work
Hi I am trying to make the SurcaceController from your video "The surface controller" But it wont work i should mean that i have done what is told in the video ;) where am i missing the point :D
My Code i ContactFormSurfaceController.cs
My Code in my partials
Her is my code in the template from the backoffice in umbraco
Hello mikkel,
Inside the backoffice Template, try to reference your action like this:
Basically change you call from "ContactFormSurfaceController" to "ContactFormSurface".
is working on a reply...