简体   繁体   中英

Do I need more than one master page for my case?

I have two types of pages .. the first is a display list and the second is a form to collect data.

I used a master page with two panels and each panel contains a ContentPlaceHolder .. the first contenet holder will show the input controls and the second one will show a unique message for every page after the user submit his data.

This is sort of a web moderator panel, where he'll add and display the items in the system to manage the website.

Now the problem is the second type of pages isn't related to the first type (Collecting data page) in the content area but it will share the same main menu and side menu!

so do I use two MasterPages and repeat the markup of the Main Menu and the Side Menu ? or can I use a base master page and the 2 master will inherit from it or what!!

I'm really confused on how to achieve this without breaking the good design concepts..

You can create a master page that has all the main layout information. Then have two sub master pages that inherit the main master page. These pages would just have minimal markup and inherit most of their layout / etc from the main master page

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM