Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Master pages for plain HTML pages?

1 view
Skip to first unread message

Cirene

unread,
Apr 28, 2008, 5:21:00 PM4/28/08
to
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?


bruce barker

unread,
Apr 28, 2008, 5:41:00 PM4/28/08
to
no. the master page is really a control hosted by the aspx page. it will noy
work with html.

-- bruce (sqlwork.com)

Mark Rae [MVP]

unread,
Apr 28, 2008, 6:11:05 PM4/28/08
to
"Cirene" <cir...@nowhere.com> wrote in message
news:O$97CXXqI...@TK2MSFTNGP03.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

clintonG

unread,
Apr 28, 2008, 8:59:53 PM4/28/08
to
You might consider learning to modify Visual Studio templates and create
your own series of HTML templates. The "page" would not be dynamic like
"MasterPages" 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" <cir...@nowhere.com> wrote in message
news:O$97CXXqI...@TK2MSFTNGP03.phx.gbl...

Cowboy (Gregory A. Beamer)

unread,
Apr 30, 2008, 10:14:32 AM4/30/08
to
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" <cir...@nowhere.com> wrote in message
news:O$97CXXqI...@TK2MSFTNGP03.phx.gbl...

0 new messages