Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

Visual Studio 2003 ASP.NET Re-writing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Richard Bailey - 20 Aug 2007 15:39 GMT
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
ca8msm@aspnetlibrary.com - 20 Aug 2007 15:58 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.