Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
MVC5 layout template, change partial page based upon body
Todd Earhart
Mar 10 2017 3:01 PM
196
I have an MVC5 project in VS 2013. It is using a layout template with sections for the following:
Header
Nav Bar
Side Bar
Body
The header, nav bar, and side bar are rendedred with Partial Pages.
Here is the problem I wish to solve.
I have multiple buttons in the Nav bar. Based upon the button clicked, the body will change to that particular page. But I also want the Side Bar to change as well as the content of the side bar will vary based upon the page displayed in the body.
Nav Bar buttons : Log Call, Update Claim, Search
The body will change to the appropriate page. This already works.
The Side Bar should display differently based upon the Nav Bar button selected, or the page it will be displaying in the body.
(NOTE: The SideBar is used for actions which can change for each different body page.)
How can I make this happen?
Reply
Upload Source Code
Select only zip and rar file.
Post
Reset
Answers (
2
)
clientscript not works in server
I'm getting this error while running in asp.net