I really hope you get an answer from someone or a promise from MS to change this "feature". I've lost so much time do to similar situations where VS.NET is trying to "help" me.
-----Original Message----- From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Hector Sent: Wednesday, May 15, 2002 3: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.