Solved

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

Posted on 2014-07-21
4
303 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

777 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