macromedia.dreamweaver.appdev
[Top] [All Lists]

Re: asp.net 2.0 masterpages with Dreamweaver

Subject: Re: asp.net 2.0 masterpages with Dreamweaver
From: David Powers
Date: Mon, 06 Aug 2007 18:01:00 +0100
Newsgroups: macromedia.dreamweaver.appdev


M.E. Again wrote:
With that said, asp.net writes a good deal of script above the head tag. This is all erased on save. To exaserbate the issue, even the code DW writes itself is discareded becase the "region is locked".

By default, the region above the DOCTYPE declaration in a template child page is *not* locked. The only way Dreamweaver locks the area above the head tag is if you manually add the following tag inside the head of the master template:

  <!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->

If you have that tag inside your master template, remove it, and the code in your child pages should be preserved.

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

<Prev in Thread] Current Thread [Next in Thread>