Dreamweaver and Disappearing ASP.NET Directives
If you are working with Dreamweaver templates and your ASP.NET directives keep disappearing try the following. Place <%–’comment–%> on the second line after your page declaration on your content pages. You can leave your template as is. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="default" %> <%--'comment--%> You do not need to set the <!– TemplateInfo codeOutsideHTMLIsLocked=”false” ...
