Asp.net mvc getting partial view inside another view folder
- by Shawn Mclean
I have inside a controller
PostLogicController.cs
public ActionResult GetCreateNormalPost()
{
return PartialView("CreateNormalPost", null);
}
CreateNormalPost is inside the folder Post (which belongs to another post controller). How do I go about returning the CreateNormalPost.ascx?
My folders are structured as follows:
Controllers
PostController.cs
PostLogicController.cs
Views
Post
Index.aspx
CreateNormalPost.ascx
There is no folder for PostLogicController.