I have an asp.net mvc 2 application with multiple areas . Each area contains its own nested master page.
Some times we need one area to use the partial functionality from the other area.
Ex: "Account area" contains a feature for managing all user's contacts. "Job area" wants to borrow contacts feature, but just for work contacts.
We cannot simply redirect from one area to other, as this开发者_C百科 will change the visual context for the user. We want the features of the second area to appear as if they belong to the first area.
Is there any clean way of achieving this?
your Partial functionality implemenetd using partial pages? then You can cosnider to add these partial pages in shared folder.
精彩评论