Ask a Question related to ASP.NET General, Design and Development.
-
Dave Mehrtens #1
VS DEsigner Moves HTML comments?
We are attempting to use both Dreamweaver and .Net to edit aspx files.
Dreamweaver uses HTML comments to embed proprietary information for it's
editor.
However, when we load these pages into VS.Net, the VS.Net designer will move
those commented lines such that Dreamweaver will not recongnize them
anymore.
For example - From Dreamweaver
</TABLE><div id="logoutLayer" style="position:absolute; width:76px;
height:14px; z-index:13; left: 14px; top: 135px; visibility: visible;"><font
size="+1"><a href="../LoginGUI/logout.aspx"><img
src="../images/logoutButton.gif" width="76" height="14"
border=0></a></font></div>
</BODY>
<!-- InstanceEnd --></HTML>
After VS.Net
</TABLE>
<div id="logoutLayer" style="Z-INDEX:13; LEFT:14px; VISIBILITY:visible;
WIDTH:76px; POSITION:absolute; TOP:135px; HEIGHT:14px"><font size="+1"><a
href="../LoginGUI/logout.aspx"><img src="../images/logoutButton.gif"
width="76" height="14" border="0"></a></font></div>
<!-- InstanceEnd -->
</BODY>
</HTML>
The "InstanceEnd comment is moved above the </BODY> tag instead of below it.
Any reason for this?
Dave
Dave Mehrtens Guest
-
Disable Options>Import Comments in Comments Pane
A customer asked me to replace the logic of the Comments>Import Comments menu item. I can easily find and replace this menu item with the name... -
VS 2005 intellisense for complex properties in the XML/HTML designer
Hi, I am using a web custom control with Visual Studio 2005 and I have a property called : public DropDownList DropDown { -
How do I get a custom Control Designer to write to the HTML of my control?
I have created a custom 'Control Designer' that provids a popup dialog for entering more complex properties (such as property builder in the data... -
What HTML Surrounds Our HTML In The Designer?
I've been working with a custom control, which I've _finally_ gotten to look right both in the designer and at run-time. Except for one little... -
Offer tips, comments on this code (generates html to index image files)
Please offer suggestions, comments, and tips on the following perl code. I had a need to quickly generate an html document indexing and displaying... -
Dave Mehrtens #2
Re: VS DEsigner Moves HTML comments?
All I am referring to are comments. I am not familiar with the details of
the schema to say what is correct or not, but wouldn't you be able to place
comments anywhere you want?
Dave
"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@comcast.netRemuvThis> wrote in
message news:eKNRpncXDHA.2424@TK2MSFTNGP12.phx.gbl...do> While I know this is not any help, the VS.NET implementation is more
> correct, according to the schema. I am not sure there is anything you canfor> about this, but I would look at the options to see if there is an option************************************************** **************************> validation of a page to a schema. If there is a way to turn off the
> correction, it would be here.
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
> Author: ADO.NET and XML: ASP.NET on the Edge
>
>************************************************** **************************> ****
> Think Outside the Box!
>VISIBILITY:visible;> ****
> "Dave Mehrtens" <dmehrtens@rightreasontech.com> wrote in message
> news:e0nF0VcXDHA.1872@TK2MSFTNGP12.phx.gbl...> move> > We are attempting to use both Dreamweaver and .Net to edit aspx files.
> >
> > Dreamweaver uses HTML comments to embed proprietary information for it's
> > editor.
> >
> > However, when we load these pages into VS.Net, the VS.Net designer will> visible;"><font> > those commented lines such that Dreamweaver will not recongnize them
> > anymore.
> >
> > For example - From Dreamweaver
> > </TABLE><div id="logoutLayer" style="position:absolute; width:76px;
> > height:14px; z-index:13; left: 14px; top: 135px; visibility:> > size="+1"><a href="../LoginGUI/logout.aspx"><img
> > src="../images/logoutButton.gif" width="76" height="14"
> > border=0></a></font></div>
> > </BODY>
> > <!-- InstanceEnd --></HTML>
> >
> >
> > After VS.Net
> > </TABLE>
> > <div id="logoutLayer" style="Z-INDEX:13; LEFT:14px;size="+1"><a> > WIDTH:76px; POSITION:absolute; TOP:135px; HEIGHT:14px"><font> it.> > href="../LoginGUI/logout.aspx"><img src="../images/logoutButton.gif"
> > width="76" height="14" border="0"></a></font></div>
> > <!-- InstanceEnd -->
> > </BODY>
> > </HTML>
> >
> > The "InstanceEnd comment is moved above the </BODY> tag instead of below>> >
> > Any reason for this?
> >
> > Dave
> >
> >
>
Dave Mehrtens Guest
-
Yan-Hong Huang[MSFT] #3
Re: VS DEsigner Moves HTML comments?
Hello Dave,
Sorry for the late response. We are looking into it and will reply you with our findings here. Thanks very much.
Best regards,
Yanhong Huang
Microsoft Online Partner Support
Get Secure! - [url]www.microsoft.com/security[/url]
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!From: "Dave Mehrtens" <dmehrtens@rightreasontech.com>
!References: <e0nF0VcXDHA.1872@TK2MSFTNGP12.phx.gbl> <eKNRpncXDHA.2424@TK2MSFTNGP12.phx.gbl>
<uCymoOdXDHA.1384@TK2MSFTNGP10.phx.gbl>
!Subject: Re: VS DEsigner Moves HTML comments?
!Date: Mon, 11 Aug 2003 12:54:36 -0400
!Lines: 92
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <#GwzslCYDHA.2032@TK2MSFTNGP10.phx.gbl>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!NNTP-Posting-Host: rightreasontech05.admin.esu.edu 206.225.102.55
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:166834
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!Microsoft, I would appreciate your comments on why the comments are moved in
!VS.NET.
!
!DAve
!
!"Dave Mehrtens" <dmehrtens@rightreasontech.com> wrote in message
!news:uCymoOdXDHA.1384@TK2MSFTNGP10.phx.gbl...
!> All I am referring to are comments. I am not familiar with the details of
!> the schema to say what is correct or not, but wouldn't you be able to
!place
!> comments anywhere you want?
!>
!> Dave
!>
!> "Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@comcast.netRemuvThis> wrote
!in
!> message news:eKNRpncXDHA.2424@TK2MSFTNGP12.phx.gbl...
!> > While I know this is not any help, the VS.NET implementation is more
!> > correct, according to the schema. I am not sure there is anything you
!can
!> do
!> > about this, but I would look at the options to see if there is an option
!> for
!> > validation of a page to a schema. If there is a way to turn off the
!> > correction, it would be here.
!> >
!> > --
!> > Gregory A. Beamer
!> > MVP; MCP: +I, SE, SD, DBA
!> > Author: ADO.NET and XML: ASP.NET on the Edge
!> >
!> >
!>
!************************************************* ***************************
!> > ****
!> > Think Outside the Box!
!> >
!>
!************************************************* ***************************
!> > ****
!> > "Dave Mehrtens" <dmehrtens@rightreasontech.com> wrote in message
!> > news:e0nF0VcXDHA.1872@TK2MSFTNGP12.phx.gbl...
!> > > We are attempting to use both Dreamweaver and .Net to edit aspx files.
!> > >
!> > > Dreamweaver uses HTML comments to embed proprietary information for
!it's
!> > > editor.
!> > >
!> > > However, when we load these pages into VS.Net, the VS.Net designer
!will
!> > move
!> > > those commented lines such that Dreamweaver will not recongnize them
!> > > anymore.
!> > >
!> > > For example - From Dreamweaver
!> > > </TABLE><div id="logoutLayer" style="position:absolute; width:76px;
!> > > height:14px; z-index:13; left: 14px; top: 135px; visibility:
!> > visible;"><font
!> > > size="+1"><a href="../LoginGUI/logout.aspx"><img
!> > > src="../images/logoutButton.gif" width="76" height="14"
!> > > border=0></a></font></div>
!> > > </BODY>
!> > > <!-- InstanceEnd --></HTML>
!> > >
!> > >
!> > > After VS.Net
!> > > </TABLE>
!> > > <div id="logoutLayer" style="Z-INDEX:13; LEFT:14px;
!> VISIBILITY:visible;
!> > > WIDTH:76px; POSITION:absolute; TOP:135px; HEIGHT:14px"><font
!> size="+1"><a
!> > > href="../LoginGUI/logout.aspx"><img src="../images/logoutButton.gif"
!> > > width="76" height="14" border="0"></a></font></div>
!> > > <!-- InstanceEnd -->
!> > > </BODY>
!> > > </HTML>
!> > >
!> > > The "InstanceEnd comment is moved above the </BODY> tag instead of
!below
!> > it.
!> > >
!> > > Any reason for this?
!> > >
!> > > Dave
!> > >
!> > >
!> >
!> >
!>
!>
!
!
!
Yan-Hong Huang[MSFT] Guest



Reply With Quote

