Dreamweaver and Disappearing ASP.NET Directives

November 28th, 2008 | Posted in ASP.NET, Software
0

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 a known issue with Adobe and is documented at the following location.

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=189&threadid=904108&CFID=5847520&CFTOKEN=2b43e1ac5acd855c-9C3AF47E-A7F5-CA4F-96F62067027BA8F4&jsessionid=48307414b6ae332c3e4f

Other Interesting Posts

Leave a Reply