How to avoid the code rewriting?

Last post 05-14-2008 3:26 AM by Thomas Sun – MSFT. 4 replies.

Sort Posts:

  • How to avoid the code rewriting?

    05-12-2008, 1:41 AM
    • Loading...
    • byeg
    • Joined on 05-12-2008, 1:28 AM
    • Posts 5

    Hi y'all,

     When I switch between design view and source view some tags were rewritten from lowercase to uppercase. There also some adds like __designer:wfdid="w24". How to avoid that? Thank you!

  • Re: How to avoid the code rewriting?

    05-12-2008, 3:53 PM
    • Loading...
    • stiletto
    • Joined on 07-10-2003, 8:42 AM
    • Louisville, KY
    • Posts 3,121

    I've not had those problems since moving from VS2003 to VS2005. 

    Do you have any add-ins or other "helpers" installed that could be changing that?

  • Re: How to avoid the code rewriting?

    05-12-2008, 9:42 PM
    • Loading...
    • byeg
    • Joined on 05-12-2008, 1:28 AM
    • Posts 5

    I have only MS AJAX 1.0 and MS AjaxControlToolkit. By the way, now I noticed that rewriting is only inside UpdatePanels. Is there any way to avoid it?

  • Re: How to avoid the code rewriting?

    05-12-2008, 10:50 PM
    Answer
    • Loading...
    • byeg
    • Joined on 05-12-2008, 1:28 AM
    • Posts 5

    It turned out that the problem was because the register for the assembly and script manager were placed in the master page. The code rewriting stops if place them to the content page.

  • Re: How to avoid the code rewriting?

    05-14-2008, 3:26 AM
    Answer

    Hi,

    Did you have old version of Ajax in your machine? If so, there will be such format issue. To resolve it, you can try to uninstall the old Ajax completely.

    You can refer to http://forums.asp.net/t/1058608.aspx

     

    I hope this helps.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (5 items)