DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 20 Aug 2007 07:39:44 -0700,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Richard Bailey
          2    unknown


Visual Studio 2003 ASP.NET Re-writing   
Howdy.  I've got a simple problem that has been driving me bananas.
Most of our website is still written in ASP.NET 1.1.  While working on
some web apps visual studio will take some tags like : 

<form id=Form1 method=post encType="multipart/form-data" runat="server">

And re-write them to be 

<form id=Form1 method=post encType=multipart/form-data runat="server">

While switching from HTML view to design view.  I don't mind tags
without quotes but that tag throws a "server tag is not well formed
error" without the quotes around the encType.  I've been working around
it by starting VS in HTML view and staying out of design view but for
obvious reasons thats not very convenient.  

It seems to be pretty random about what it will re-write and remove the
quotes from.  I've tried shutting off just about everything I can in the
editor settings but haven't had any luck.  Any idea how I can stop it
from doing this?

Thanks in advance

Richard


*** Sent via Developersdex http://www.developersdex.com ***
Date:Mon, 20 Aug 2007 07:39:44 -0700   Author:  

Re: Visual Studio 2003 ASP.NET Re-writing   
VS2003 had a nasty habit of doing this which is one of the reasons why
I never look at the design window. Personally, I don't see the point
in it as it isn't a browser and doesn't process your page, so at best
it has a guess at what the page may look like. A guess isn't really
good enough as your users will never see what VS thinks the page will
look like, so the easiest method is to simply run the page and view
what it looks like in several browsers of your choice.

Mark,
http://aspnetlibrary.com
Date:Mon, 20 Aug 2007 14:58:04 -0000   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us