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.