Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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 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…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

911 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

20 Experts available now in Live!

Get 1:1 Help Now