Dreamweaver and Disappearing ASP.NET Directives
November 28th, 2008
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” –> to true.
This is [...]









