Solved

site with master page... concept help- asp.net c#

Posted on 2014-07-21
4
298 Views
Last Modified: 2014-07-31
In planing for a site using reusable pages, as shown on the attached page I will have:

1- index.htlm         a, b, c
2- center_1.html    a
3- center_2.html    b
4- center_3.html    c
5- side_1.html       a
6- side_2.html       b
7- bottom.html     a, b, c

There will be three view configurations a, b, and c as shown above and listed below:

a. center_1.html, side_1.html, bottom.html
b. center_2.html, side_2.html, bottom.html
c. center_3.html, bottom.html

Question 1: Will be all pages be master page except bottom.html?
Question 2: Could you add some note to the index.html included below?
Question 3: How many level of derived pages there will be for each options (a, b, and c)?

If the answer for question 2 was possible, please use the html below to adds some notes to it.

Thank you.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
<style type="text/css">
    .table {width: 1000px;}
    .centerhtml { width:800px; min-height:200px; } 
    .sidehtml { width:200px; min-height:200px;  }
    .bottomhtmls { width:1000px; min-height: 200px; }
</style>

</head>
<body>

<form id="form1" runat="server">
<table border="0" class="table">
        <tr>
             <td  class="centerhtml"><p>
                   center_1.html</br>
                   center_2.html</br>
                   center_3.html</p> 
             </td>
             <td class="sidehtml"><p>
                   side_1.html</br>
                   side_2.html</p>
            </td>
	    </tr>
        <tr>
            <td class="bottomhtmls" colspan="2"><p>
                   bottom.htmls</p>
           </td>
        </tr>
  </table>
 </form>

</body>
</html>

Open in new window

masterpage.png
0
Comment
Question by:Mike Eghtebas
  • 3
4 Comments
 
LVL 5

Assisted Solution

by:Jeroen Timmermans
Jeroen Timmermans earned 500 total points
ID: 40211746
What you're asking is too much to put in this box, so I'll point you to the following URL:
http://www.asp.net/mvc/tutorials/mvc-5/introduction/getting-started

What you want to do is possible, but answering it in full would require me to provide you with a course on MVC.
0
 
LVL 33

Author Comment

by:Mike Eghtebas
ID: 40212068
Hi jeroenemans,

Thank you for the response. At this point I am not ready for MVC yet. I am following http://msdn.microsoft.com/en-us/library/vstudio/ehszf8ax(v=vs.100).aspx example (Walkthrough: Creating and Using ASP.NET Master Pages..).

Mike
0
 
LVL 33

Accepted Solution

by:
Mike Eghtebas earned 0 total points
ID: 40212731
0
 
LVL 33

Author Closing Comment

by:Mike Eghtebas
ID: 40231254
This link has a very good example/ tutorial.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now