Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Login
0
Reply
How to pass the view path within the html action method
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
nagendra prasad
9y
535
1
Reply
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
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
How to export data in Excel ?
Print page break.