Link to home
Start Free TrialLog in
Avatar of Mike Eghtebas
Mike EghtebasFlag for United States of America

asked on

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

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
SOLUTION
Avatar of Jeroen Timmermans
Jeroen Timmermans
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mike Eghtebas

ASKER

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
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This link has a very good example/ tutorial.