nagendra prasad

nagendra prasad

  • NA
  • 22
  • 10.3k

How to pass the view path within the html action method

Nov 20 2014 8:16 AM
0



Hiiiiiii
i getting error ,when i am passing the partial view path to html action method.
please view the below snippet

@Html.Action("ProjectsPartial", "Project", new { Typename = "ActiveProject" });
where ProjectsPartial is action name,project is controller name,if i mentioned like above i am getting error...
here my partial view is under the folder of views that path is below
views/folder/controllername/partialview.cshtml
please suggest me how to specify the correct path within the html action method