C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » HTML »

Creating master pages in html


Posted Date: 27 Sep 2009      Posted By: Deepak Yadav      Member Level: Silver     Points: 1   Responses: 7



Hi all,
One of my my client has taken the space on linux hosting, and in that we have to work on php or html or jsp , I know how to create master pages in asp.net and the website is created in hours but now I want to know how to create master pages in html?
Could please anyone tell me by giving examples of the small code pieces?

thanks in advance
cheers
deepak yadav





Responses

Author: Lalji    27 Sep 2009Member Level: DiamondRating: Revenue Score: 0     Points: 0

Her Example of master page in html

<%@ Master %>

<html>
<body>
<h1>Standard Header For All Pages</h1>
<asp:ContentPlaceHolder id="CPH1" runat="server">
</asp:ContentPlaceHolder>
</body>
</html>

more info you will get this url
http://www.w3schools.com/aspnet/aspnet_masterpages.asp




Author: Anuraj    28 Sep 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

You can't create master pages in HTML. It is a new feature in ASP.Net from framework 2.0 onwards. If you are using PHP you can include files. Or you can use Frames(HTML) to get similar looks.

Thanks
Anuraj
THIS POSTING IS PROVIDED "AS IS" WITH NO WARRANTIES, AND CONFERS NO RIGHTS.
BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT, NOT TRIED IT.
dotnetthoghts



Author: Kritika Yadav    28 Sep 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

you can create a simple html page as master page using iframe.

just redirect iframe to another page only whenever you want to navigate to other page.

Join this campus group
http://www.dotnetspider.com/sites/637/-ecb-aspdotnet.aspx

Happy Programming
Kritika Yadav
Dot Net Help



Author: selvam    06 Oct 2009Member Level: BronzeRating: 3 out of 53 out of 53 out of 5     Points: 3

If you want the functionality of the Master Page system without using ASP.NET, Expression Web has a Dynamic Web Template system.

This system allows you to create a pure HTML template and then create pages based upon it. When the template gets updated, so do the pages created from it. The pages may override the template as well, where needed, but the behavior in the Design view is to allow editing only in the sections of the page that the template has labeled as an Editable Region.

Thanks & Best Wishes,
Selvakumar. D



Author: Venkatesh Ellur    26 Oct 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

Hi

Deepak as per my knowledge there is no masterpage concept in HTML all that you need to do is use frames and Iframes in order to get the feel of Master page. Remember Master page is the concept from Microsoft .NET

THIS POSTING IS PROVIDED WITH NO WARRANTIES, BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT AS PER MY KNOWLEDGE, NOT TRIED IT.

Regards
--------------------------
Venkatesh Ellur
+919886417764
venkatesh.ellur@gmail.com



Author: Shipra Agarwal    03 Nov 2009Member Level: BronzeRating: 2 out of 52 out of 5     Points: 2

Hi!

I have never heard of the concept of master pages in html.
But ofcourse we can create a master page like feature in html using frames.

Using the frameset tag we can easily partition the whole html pages in different sections.

thanks and regards.



Author: abdul rahim    16 Nov 2009Member Level: SilverRating: 2 out of 52 out of 5     Points: 2

u can't create master page in html


Post Reply
You must Sign In to post a response.
Next : Use photoshop psd to create an html page
Previous : Div - overflow:scroll problem
Return to Discussion Forum
Post New Message
Category: HTML

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use