ASP.NET page directive STILL being overwritten in CS4?


i've downloaded studio cs4 trial , considering upgrading cs2/studio 8, i've been using 2-3 years. hoping fix issue i've been having dreamweaver 8 overwriting asp.net page directives this...
<%@ 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

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62