Was referring to using the HTML view just for your Editor, Designer gives
you the drag/drop, properites, event wiring etc etc.. But Notepad wouldn't
give you these anyways.. It's a good HTML editor in the IDE with those
options Changes below.



-----Original Message-----
From: Patten, Dave [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 1:04 PM
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Stop VS.NET mucking with my HTML


For advanced HTML Authors, my solution was to:

In Options -
HTML Designer: select Start HTML Pages in HTML View, Start ASP in HTML View,
Start Web Form pages in HTML View
Text Editor:HTML/XML: Format - disable all Automatic Formatting, HTML
Specific - disable Enable HTML validation

I never use Design View for ASP.NET, only plus I found so far was it will
auto add your ASP Control Vars to the code behind.. Not a huge deal.

I like to preserve what I actually TYPE..


-----Original Message-----
From: Kevin Hector [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 12:55 PM
To: [EMAIL PROTECTED]
Subject: [DOTNET] Stop VS.NET mucking with my HTML


In ASP.NET I need to set the TITLE text of the HEAD element at runtime, so I
have added the following:

<title runat="server" id="titleElement">here</title>

and I have hooked up an HtmlGenericControl to do the runtime setting, which
works great. However, in a disturbing throwback to MS Frontpage (eek!) days
I find that VS.NET HTML editor likes to delete the 'runat=server' bit when I
save the page, because presumably it thinks I typed it in error.

Any workarounds, or is it time to reconsider notepad as the html editor of
choice :(

Kevin Hector


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to