View Full Version : Dreamweaver templates and ASP.net

03-15-2007, 07:40 AM
Hi all

I'm using Dreamweaver to create and manage my ASP.net 2 site.

On my ASP.net pages I need to have a different declaration at the top of each page, e.g.:

<%@ Page Language="VB" AutoEventWireup="true" CodeFile="annual-travel-insurance.aspx.vb" Inherits="travel_insurance_annual_travel_insurance" %>

<%@ Page Language="VB" AutoEventWireup="true" CodeFile="extended-trip-travel-insurance.aspx.vb" Inherits="travel_insurance_extended_trip_travel_insurance" %>

It was my understanding that Dreamweaver would leave alone any code outside of the HTML. However, whenever I update my template, the ASP.net declarations are removed by Dreamweaver.

What can I do?