Html.RenderAction - the controller for path '/' was not found
        Posted  
        
            by billyonemate
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by billyonemate
        
        
        
        Published on 2010-06-10T16:38:06Z
        Indexed on 
            2010/06/10
            16:53 UTC
        
        
        Read the original article
        Hit count: 226
        
asp.net-mvc-2
Using ASP.NET MVC 2 and and Html.RenderAction in my masterpage implemented as below throws an error with "the controller for path '/' was not found":
I'm a bit of a newbie, do i have to do something in RegisterRoutes to make this work?
<% Html.RenderAction("TeaserList", "SportEventController"); %>
public class SportEventController : Controller
{
    public string TeaserList()
    {
        return "hi from teaserlist";
    }
}
© Stack Overflow or respective owner