@using (Html.BeginForm("Details", "Home", new { name = Model.Name },
FormMethod.Get, new { name = "foo_bar" }))
Tuesday, March 4, 2014
Use MVC Html.BeginForm with GET method and action parameter
Saturday, March 1, 2014
HomeController inherit from BaseController, but didn't run a function in BaseController
I try make internationalization using this tutorial, the problem is that the basecontroller is not execute.
public class BaseController : Controller
{
protected override void ExecuteCore()
{
........
base.ExecuteCore();
}
}
public class HomeController : BaseController
{
public ActionResult Index()
{
...
return View();
}
}
Subscribe to:
Comments (Atom)