473,789 Members | 2,634 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Master pages for plain HTML pages?

I am using VS.NET 2008.

In Dreamweaver you can create page templates (equivalent to Master Pages)
and make HTML documents based on them.

In VS.NET can you have a HTML file linked to a Master Page?
Jun 27 '08 #1
4 2016
no. the master page is really a control hosted by the aspx page. it will noy
work with html.

-- bruce (sqlwork.com)
"Cirene" wrote:
I am using VS.NET 2008.

In Dreamweaver you can create page templates (equivalent to Master Pages)
and make HTML documents based on them.

In VS.NET can you have a HTML file linked to a Master Page?
Jun 27 '08 #2
"Cirene" <ci****@nowhere .comwrote in message
news:O$******** ******@TK2MSFTN GP03.phx.gbl...
I am using VS.NET 2008.

In Dreamweaver you can create page templates (equivalent to Master Pages)
and make HTML documents based on them.
The Dreamweaver templates are not the equivalent of ASP.NET MasterPages.
MasterPages are nothing more than UserControls...
In VS.NET can you have a HTML file linked to a Master Page?
No.
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jun 27 '08 #3
You might consider learning to modify Visual Studio templates and create
your own series of HTML templates. The "page" would not be dynamic like
"MasterPage s" but it would allow you to pick a static template that was
created to support a given type of layout each time you created a new HTML
document.


"Cirene" <ci****@nowhere .comwrote in message
news:O$******** ******@TK2MSFTN GP03.phx.gbl...
>I am using VS.NET 2008.

In Dreamweaver you can create page templates (equivalent to Master Pages)
and make HTML documents based on them.

In VS.NET can you have a HTML file linked to a Master Page?

Jun 27 '08 #4
Master pages can only apply to ASPX pages, not HTML.

In Dreamweaver (and FrontPage or Expression Web), you have DWTs (dynamic web
templates). They are dynamic only in the sense that the program knows to
search the website for pages using them when you update. If you edit the
page in a text editor, you will not update the pages.

I am not knocking DWTs, as I feel they have a purpose. I just do not see
them as extremely useful in an ASP.NET application.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************** *************** *************** ****
| Think outside the box!
|
*************** *************** *************** ****
"Cirene" <ci****@nowhere .comwrote in message
news:O$******** ******@TK2MSFTN GP03.phx.gbl...
>I am using VS.NET 2008.

In Dreamweaver you can create page templates (equivalent to Master Pages)
and make HTML documents based on them.

In VS.NET can you have a HTML file linked to a Master Page?


Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2265
by: Vanitha | last post by:
Hi All, I am developing a Web based application for an embedded target, using BOA webserver. I need to return some values to the HTML client. I am using CGI-C to extract the values sent by the client from the server. I dont want to generate the entire HTML page each time from the server.'cos i need to refresh the status less than a second..
8
2952
by: Randall Parker | last post by:
I want to generate an HTML tag that will look like: <a href="EquipmentServiceCreate.aspx?serial=X01">Create New Service For X01</a> or on a different instance where the user would be viewing "X05" it would looke like: <a href="EquipmentServiceCreate.aspx?serial=X05">Create New Service For X05</a> I'm trynig to figure out how to do that using HtmlGenericControl in C# code behind.
5
6252
by: moondaddy | last post by:
I have a website that currently has all static htm pages and nothing will be dynamic for quite some time. This site is made up of a bunch of htm pages. is there any advantage or disadvantage of converting them to aspx pages? We are using VS 2005 and .net 2.0. Thanks. -- moondaddy@nospam.nospam
53
4871
by: MajorSetback | last post by:
I am starting up a home business and will be setting up a web site to market the software that I will be developing in C++. I was wondering if I should buy something like Dreamweaver or Frontpage or try to develop the web pages directly using HTML and a text editor. I have not had experience building web pages but have had several years experience in programming in C and C++ and in using LaTeX for document preparation. Any advice...
4
5840
by: brett | last post by:
How can I use an HTML FORM tag on a content page that uses a Master page? The HTML FORM is now inside the Master page serverside FORM. I need to use the HTML FORM on a few pages. Thanks, Brett
3
1589
by: Frank | last post by:
Hi, Just wondering how much pain is involved in taking an existing website created with Dreamweaver (mostly just plain HTML + some javascript) then converting each page to ASP.NET with Code-Behind for each page? The website is a mockup in plain HTML so there is no database hooked up yet. I'm assuming plain HTML elements like input text boxes can easily be replaced using the Visual Studio Designer.
0
1021
by: Miaaa Mukherjee | last post by:
I m using ASP.Net with VB,C# in 2005 I want to use the master page and content pages. I m creating a project which contains a leftmenu,headercontrol of images,middle menu. I don't understand what to do and how can i put the contentplace holders on the forms. I want in each and every forms the header control which contains the images but the middle menu and left menu changes as the login procedure the rights for admin and normal user...
2
2466
by: ramya.salva | last post by:
I'm trying to add to my project an html page so that I can add some C# code into it. I would need to 'convert' into aspx so that I can add the code with the IDE. What would I need to do? Thanks.
17
1915
by: henry | last post by:
Folks Here's a skeleton, generic HTML page, call it "index.php". You'll see a bit of php code in the middle: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head>
0
9511
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10404
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10195
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10136
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9979
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9016
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6765
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5415
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5548
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.