ASP.NET page directive STILL being overwritten in CS4?
<%@ page language="vb" autoeventwireup="false" codefile="login.aspx.vb" inherits="login" %>
to this...
<%@ page language="vb" contenttype="text/html" responseencoding="iso-8859-1" %>
i've followed directions in technote, seems solution i'm after...
http://kb.adobe.com/selfservice/viewcontent.do?externalid=tn_16531
it not work. it's still happening in cs4. codeoutsidehtmlislocked set true when update template, page directive above still overwritten. bug that's been around 3 versions, or missing something?
i ran problem. have lots of course pages pull data database using asp.net. have aspx template file that's used update course pages. each time i'd change template, modified code outside of <html> tag.
the solution add comment in content pages in -
<%@ page language="c#" autoeventwireup="true" codebehind="course_111.aspx.cs" inherits="kayak.pages.course_111" %>
<%–’comment–%>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
...
my template has -
<%@ page language="c#" autoeventwireup="true" codebehind="course.aspx.cs" inherits="kayak.pages.course" %>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
no comment in template.
the codeoutsidehtmlislocked isn't changed default "false".
now updating template update course pages , not touch code outside <html> tags.
found @ http://websitebuildersresource.com/2008/11/28/195/. post said known issue couldn't find article mentioned.
More discussions in Develop server-side applications in Dreamweaver
adobe
Comments
Post a Comment