After upgrading from vs2005 to vs2008, ajax calls make full page reload

Last post 09-29-2010, 9:34 AM by Eric. 1 replies.
Sort Posts: Previous Next
  •  09-28-2010, 4:55 PM 64236

    After upgrading from vs2005 to vs2008, ajax calls make full page reload


    I've spent a couple days trying track this down,and finally found the problem.
     
    In my situation, I upgraded a vs2005 project to vs2008. Once in vs2008, I decided to add ajax functionality. Whenever I would use the ajax uploader, it would do a full page reload after the ajax button click upload. Even the simple-uploader was doing it. I then tried to do a basic button on a page and the same results. After significant investigation, I found that when I converted from vs2005 to vs2008, there is a web.config setting that was causing the problem.
     
    <xhtmlConformance mode="Legacy"></xhtmlConformance>
     
    Removing the above line (or changing it to transitional) fixed my problem.
     
    Just wanted to report this here, in case any other ajax upload users encounter this problem. Hopefully you can find it in the search.
     
     
     
  •  09-29-2010, 9:34 AM 64247 in reply to 64236

    Re: After upgrading from vs2005 to vs2008, ajax calls make full page reload

    Dear Lan-Lord,
     
    thank you for sharing.
     
View as RSS news feed in XML