I have a web page lay out that includes 1 main panel that shows information, and a side panel that can show one of several panels based on what happens in the main panel. So for example, the main panel can show a list of projects, and you can click the project which should show an edit panel. Or you can delete the project which should show the delete panel. There's about 5 or 6 panels. This is not the whole application so I cant make the main panel a partial view.
How would I implement this? Basically I'm trying to return two views in the controller, but obviously that is not possible. My guess is that the main panel should be the view returned by the controller. But how would I be able to set the side panel then? Can I combine 2 views into 1 within 1 controller action somehow? Or should I link two controllers to 1 action? How would I do this?
I'm really new to ASP.NET MVC but I'm having trouble googling an answer myself. Thank you for your patience.