ajax conflict (yes, i ran that disable ajax policy script) asp:UpdatePanel ambiguous reference

Last post 08-08-2007 7:43 PM by merk. 6 replies.

Sort Posts:

  • ajax conflict (yes, i ran that disable ajax policy script) asp:UpdatePanel ambiguous reference

    08-07-2007, 5:34 PM
    • Loading...
    • merk
    • Joined on 09-17-2002, 12:29 PM
    • Pasadena, CA
    • Posts 208

    Hi All,

    I did run that script right after installing vs2008 b2 and it was working fine. Then i tried dragging an updateprogress control onto a page that already had working ajax controls on it and for some reason it said asp:UpdateProgress was an ambiguous reference. It also started complaining about 3.5 and 1.0.6 both being included. I removed the 3.5 from the project references. And i also saw that on the toolbox, all the ajax controls were 3.5, so i removed those and set them back to 1.0.6 but when i try to drag another ajax control onto the page i get the same ambiguous error. The other ajax controls on the page work fine.

    If i open the website up in vs2005, i can add the ajax controls just fine.

    I tried running that .cmd script again but that had no effect. Anyone know what might have happened here and how i could fix it? I'd like to keep playing around with 3.5 on this particular web project I'm working on, but if its going to blow up anytime i try to do anything with any ajax controls, i wont be able to use it.

    Thanks 

  • Re: ajax conflict (yes, i ran that disable ajax policy script) asp:UpdatePanel ambiguous reference

    08-07-2007, 5:44 PM
    • Loading...
    • ysw
    • Joined on 06-15-2007, 4:32 PM
    • Ukraine
    • Posts 514

    Hi,

    I had a similar, but not the same issue.  After installing beta 2 (beta 1 uninstalled before) and running recommended script, Toolbox in beta 2 had an ASJX Extensions TAB, but it show wrong controls.  I had to uncheck wrong version and include 3.5 version in toolbox. 

    Most problems disappearedafter this.

    -yuriy

  • Re: ajax conflict (yes, i ran that disable ajax policy script) asp:UpdatePanel ambiguous reference

    08-07-2007, 5:59 PM
    • Loading...
    • merk
    • Joined on 09-17-2002, 12:29 PM
    • Pasadena, CA
    • Posts 208

    I already did that, except i disabled 3.5 and used 1.0.6 since this is a .net 2.0 project. But that did not help in my case. The error persists. I've gotten around the error by going back to using vs2005 for now. 

  • Re: ajax conflict (yes, i ran that disable ajax policy script) asp:UpdatePanel ambiguous reference

    08-07-2007, 7:28 PM
    • Loading...
    • jbresler
    • Joined on 08-01-2005, 5:09 PM
    • Redmond, WA
    • Posts 171

    We can't support editing AJAX 1.0 pages in VS2008, we can only support AJAX 3.5.

  • Re: ajax conflict (yes, i ran that disable ajax policy script) asp:UpdatePanel ambiguous reference

    08-07-2007, 7:39 PM
    • Loading...
    • merk
    • Joined on 09-17-2002, 12:29 PM
    • Pasadena, CA
    • Posts 208

    ahh, so then it would not be possible to work on an ajax enabled site using both vs2005 and vs2008 then, correct? 

  • Re: ajax conflict (yes, i ran that disable ajax policy script) asp:UpdatePanel ambiguous reference

    08-08-2007, 7:12 PM
    Answer
    • Loading...
    • jbresler
    • Joined on 08-01-2005, 5:09 PM
    • Redmond, WA
    • Posts 171

    I'm wrong, I looked into it further and found out there's a workaround to using AJAX 1.0 in Visual Studio 2008 Beta 2.  You can see the workaround directions at http://blogs.msdn.com/webdevtools/archive/2007/07/30/using-vs-2008-to-target-asp-net-ajax-1-0.aspx .  Please make sure to check the comments because Bradley, the original poster, talks about some improvements to his workaround.

     The ASP.NET team is trying to improve AJAX 1.0 support for the final release of Visual Studio 2008, so hopefully things should be work better then.

  • Re: ajax conflict (yes, i ran that disable ajax policy script) asp:UpdatePanel ambiguous reference

    08-08-2007, 7:43 PM
    • Loading...
    • merk
    • Joined on 09-17-2002, 12:29 PM
    • Pasadena, CA
    • Posts 208

    Thanks, a friend of mine pointed that out earlier today to me and that worked. Although for some reason, when ever i add an ajax control to the page, it ads a reference to 3.5 to the page which i have to remove. According to the additional notes from Bradley, that's not supposed to happen.

    But i can live with that for now for the beta.

    Thanks again.

     

Page 1 of 1 (7 items)
Microsoft Communities
Page view counter