开发者

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'开发者_StackOverflow中文版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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜