Re: How to get Visual Studio to use quotes for html tag attributes
From: Max (maximus_at_portvista.com)
Date: 03/31/04
- Next message: Sergius Adamtchouk: "How to place iherited control's subcontrols to parent's(UserControl) PlaceHolder?"
- Previous message: Paul Turley: "IP address shows in URL rather than domain name"
- In reply to: Scott M.: "Re: How to get Visual Studio to use quotes for html tag attributes"
- Next in thread: Scott M.: "Re: How to get Visual Studio to use quotes for html tag attributes"
- Reply: Scott M.: "Re: How to get Visual Studio to use quotes for html tag attributes"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 31 Mar 2004 05:23:59 GMT
"Scott M." <s-mar@BADSPAMsnet.net> wrote
> > Load into VS.NET any page made in dreamweaver that uses a template. Flip
> > between design view and code view. Watch your DW <!--
> InstanceBeginEditable
> > name="doctitle" --> tags magically move, even with all VS code
validation
> > turned off.
>
> Come on! That's not a bug! It's like saying, "When I take this sqare peg
> and try to put it into this round hole...".
Well there is no reason for VS to move the tags that would otherwise make DW
compatible with VS, unless it's some conspiracy to prevent people from using
DW templates with VS. I mean it's possible: Microsoft IS releasing their own
form of templates in this next version where a lot of people probably just
stop using DW altogether. Templates are the main reason people use DW.
Anyway, the VS devs say it's a bug and it will be fixed in the next version
(2004). Sorry I don't have the link to show you admitting this. They have
released a workaround, but it does not work in every case. The DW tags are
well formatted comment tags for gods sake, and there is no reason for VS to
be touching them. In some cases VS will actually delete code when it sees
these tags.
> > Just TRY to make a user control without closing your html tags -- such
as
> > the first and last part of an html table. I forget what happens, but
> > basically this is the reason you can't really have serverside
> > templates/includes using VS.
>
> And, when is it appropriate for opening table tags to not have closing
table
> tags?
When you want to make a template based web site. Say you want a two columns
layout. The left column would be the same on every page, and the right
column you want your page content. You can do this quite easily with
dreamweaver and the best part is you don't need user controls or includes.
It's all html managed within Dreamweaver.
<user control (start table)>
your page
<user control (end table)>
- Next message: Sergius Adamtchouk: "How to place iherited control's subcontrols to parent's(UserControl) PlaceHolder?"
- Previous message: Paul Turley: "IP address shows in URL rather than domain name"
- In reply to: Scott M.: "Re: How to get Visual Studio to use quotes for html tag attributes"
- Next in thread: Scott M.: "Re: How to get Visual Studio to use quotes for html tag attributes"
- Reply: Scott M.: "Re: How to get Visual Studio to use quotes for html tag attributes"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|