SparkViewEngine, RenderAction and Areas with ASP MVC 2 Beta?!

Posted by scooby37 on Stack Overflow See other posts from Stack Overflow or by scooby37
Published on 2009-12-04T12:02:44Z Indexed on 2010/04/27 17:53 UTC
Read the original article Hit count: 372

I just ran into trouble with the AreaDescriptionFilter of Spark using MVC 2 Beta.

The following line is from my Application.spark file. It results in the view engine looking in all possible locations of the view - except in the folders of the area "Shell".

# Html.RenderAction("ShowMainMenu", "Navigation", new { area = "Shell" });

Running the same action using http://localhost/Shell/Navigation/ShowMainMenu executes fine and recognizes the area's view directory as expected.

Any ideas how to fix this?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about spark-view-engine