Forums
This topic is locked
Dreamweaver templates and ASP.net declarations
Posted 06 Jan 2006 21:29:32
1
has voted
06 Jan 2006 21:29:32 Stephen Gilkes posted:
Hi allOn my ASP.net 2 pages I need to have a different declaration at the top of each page, e.g.:
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="annual-travel-insurance.aspx.vb" Inherits="travel_insurance_annual_travel_insurance" %>
However, when I update my template, this code is removed by Dreamweaver.
What can I do?
Replies
Replied 07 Jan 2006 11:53:30
07 Jan 2006 11:53:30 Stephen Gilkes replied:
This is actually caused by a bug in DW.
See this link: www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=189&threadid=904108&CFID=5847520&CFTOKEN=2b43e1ac5acd855c-9C3AF47E-A7F5-CA4F-96F62067027BA8F4&jsessionid=48307414b6ae332c3e4f
See this link: www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=189&threadid=904108&CFID=5847520&CFTOKEN=2b43e1ac5acd855c-9C3AF47E-A7F5-CA4F-96F62067027BA8F4&jsessionid=48307414b6ae332c3e4f
Replied 31 Aug 2007 10:01:30
31 Aug 2007 10:01:30 rooban nadarajah replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi all
On my ASP.net 2 pages I need to have a different declaration at the top of each page, e.g.:
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="annual-travel-insurance.aspx.vb" Inherits="travel_insurance_annual_travel_insurance" %>
However, when I update my template, this code is removed by Dreamweaver.
What can I do?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Hi all
On my ASP.net 2 pages I need to have a different declaration at the top of each page, e.g.:
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="annual-travel-insurance.aspx.vb" Inherits="travel_insurance_annual_travel_insurance" %>
However, when I update my template, this code is removed by Dreamweaver.
What can I do?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Replied 31 Aug 2007 10:05:16
31 Aug 2007 10:05:16 rooban nadarajah replied:
Insert this <%--'comment--%> after your codebehind code
Like this
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="annual-travel-insurance.aspx.vb" Inherits="travel_insurance_annual_travel_insurance" %>
<%--'comment--%>
Inser this <%--'comment--%> to your template page as well
Regards
Rooban
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi all
On my ASP.net 2 pages I need to have a different declaration at the top of each page, e.g.:
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="annual-travel-insurance.aspx.vb" Inherits="travel_insurance_annual_travel_insurance" %>
However, when I update my template, this code is removed by Dreamweaver.
What can I do?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Like this
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="annual-travel-insurance.aspx.vb" Inherits="travel_insurance_annual_travel_insurance" %>
<%--'comment--%>
Inser this <%--'comment--%> to your template page as well
Regards
Rooban
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi all
On my ASP.net 2 pages I need to have a different declaration at the top of each page, e.g.:
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="annual-travel-insurance.aspx.vb" Inherits="travel_insurance_annual_travel_insurance" %>
However, when I update my template, this code is removed by Dreamweaver.
What can I do?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>