VS 2005 conversion: Removed the id attribute from the <form> tag in file

When I have converted my web app to .net framework 2.0 using Visual studio 2005 pro, I see this the conversion report: "Removed the id attribute from the <form> tag in file ..." This prevents my java scripts on my pages to work, and need to insert the id tag again.

Why does VS 2005 remove the id tag in the <form> tag when converting to .net framework 2.0



Answer this question

VS 2005 conversion: Removed the id attribute from the <form> tag in file

  • Rando

    Hi Kenneth,

    Glad to help you with your problem. However, I'm afraid your problem is not a typical one when converting web app from VS 2003 to 2005. I suppose yours is a specific one.

    Based on your description, I wrote a Web app understand VS 2003 and opened it with VS 2005, trying to reproduce the problem you face. In my html code, I also include javascript code.

    Here are some sample which can run correctly on my machine:

    http://lilybbs.net/file/X/xiaodudu/mysamplewebapp.zip

    If you can't convert it correctly, it must be the problem with your code or environment configuration.

    Would you please send your code to me to test for you

    Thanks and regards,

    Cleo



  • Tim Dawson

    Thanks for participating on the MSDN Forum, but this forum section is reserved for C# General questions. For ASP.NET question you can post your question on the asp.net forum, there you find asp.net experts and you question should be answered in no time

    Please post the question on: http://forums.asp.net/.


  • VS 2005 conversion: Removed the id attribute from the <form> tag in file