Solved

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

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

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 34

Accepted Solution

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

Author Closing Comment

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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

828 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