Errors with UpdatePanel & WebPart stuff after upgrade

Last post 07-13-2007 11:49 AM by senyl. 8 replies.

Sort Posts:

  • Errors with UpdatePanel & WebPart stuff after upgrade

    10-22-2006, 3:11 PM
    • Loading...
    • ejstembler
    • Joined on 02-06-2003, 9:14 AM
    • Tampa, Florida
    • Posts 28

    I recently upgraded from Atlas CTP to Ajax beta 1.  I beleive that I properly updated my web.config et. al.; however I keep getting this error regarding the UpdatePanel:

    Element 'UpdatePanel' is not a known element. This can occur if there is a compilation error in the Web site.
    Element 'AsyncPostBackTrigger' is not a known element. This can occur if there is a compilation error in the Web site.
    Validation (XHTML 1.0 Transitional): Element 'Triggers' is not supported.
    Validation (XHTML 1.0 Transitional): Element 'ContentTemplate' is not supported.

    I can drag the UpdatePanel from the IDE toolbox onto the page, but the Intellisense doesn't work and it causes errors.

    On a related note, none of my WebParts stuff is recognized either:

    Element 'WebPartManager' is not a known element. This can occur if there is a compilation error in the Web site.
    'WebPartZone' is not a known element. This can occur if there is a compilation error in the Web site.

    Anyone know what is causing this, and how I can fix?

    TIA

  • Re: Errors with UpdatePanel & WebPart stuff after upgrade

    10-22-2006, 5:36 PM
    • Loading...
    • Luis Abreu
    • Joined on 02-12-2005, 6:22 AM
    • Madeira [Portugal]
    • Posts 5,218
    • TrustedFriends-MVPs

    hello.

    hum...have you changed the web.config entries on the page section?

    --
    Regards,
    Luis Abreu
    email: labreu_at_gmail.com
    PT blog: http://weblogs.pontonetpt.com/luisabreu
    EN blog:http://msmvps.com/blogs/luisabreu
    http://www.pontonetpt.com
    http://weblogs.pontonetpt.com/
  • Re: Errors with UpdatePanel & WebPart stuff after upgrade

    10-27-2006, 12:31 PM
    • Loading...
    • cspy
    • Joined on 10-26-2006, 5:22 PM
    • Posts 19

    I've got the same problem.  My web.confg page section looks like this:

    <system.web><pages><controls>

    <add tagPrefix="asp" namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

    <add tagPrefix="asp" namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

    <add namespace="Microsoft.Web.Preview.UI" assembly="Microsoft.Web.Preview" tagPrefix="atlas"/>

    <add namespace="Microsoft.Web.Preview.UI.Controls" assembly="Microsoft.Web.Preview" tagPrefix="atlas"/>

    </controls>

    I should be using <asp:UpdatePanel...> NOT<atlas:UpdatePanel...> correct?  The only items showing up w/ intellisense are <atlas:AutoCompleteExtender>, <atlas:DragOverlayExtender>, <atlas:ProfileService>, <atlas:Script>, <atlas:TimerControl>, and <atlas:UpdateProgress>.

    I'm also a bit lost with what I should have in my toolbox after the migration and adding in the value-add controls.  Currently, I still have the ATLAS controls in my toolbox, same as I did from before the migration.  Should I have removed these?  I also removed the .dll's from my BIN directory before the migration (before the installs) and then added back both "AjaxControlToolkit.dll" and "Microsoft.Web.Preview.dll" after the BETA+ValueAdd+Toolkit installs.

    Please help, I am LOST!  Thanks!!

     --c--

    --c--
  • Re: Errors with UpdatePanel & WebPart stuff after upgrade

    10-27-2006, 12:44 PM
    • Loading...
    • jodywbcb
    • Joined on 03-12-2003, 3:52 PM
    • West Seattle,WA
    • Posts 985
    Change you asp tags to something else (Atlas" or "ajax" or whatever... will fix it - its a known bug....
    -- jody
    My Blogs on .Net 2.0 and Ajax
    http://csk.wbcb.com
    http://ArtbyJody.com
  • Re: Errors with UpdatePanel & WebPart stuff after upgrade

    10-27-2006, 2:01 PM
    • Loading...
    • cspy
    • Joined on 10-26-2006, 5:22 PM
    • Posts 19

    Thanks Jody, that did it!!

     Someone should consider updating the Migration Guide document.  Step #3 specifically says to use "asp" for the tag.  After I had already renamed all my <atlas> tags to <asp> I had to go back and put them back :( ....what a pain.

    Thanks again!

    --c--
  • Re: Errors with UpdatePanel & WebPart stuff after upgrade

    03-28-2007, 11:29 AM
    • Loading...
    • FanOfAtlas
    • Joined on 08-30-2006, 6:34 AM
    • Posts 6

    Thanks Jodi. That helped me a lot. Just a note here. Change the tag prefix in web.config file pages section as well as in the html design file.

     Shaun

    -Shaun
  • Re: Errors with UpdatePanel & WebPart stuff after upgrade

    05-22-2007, 8:07 AM
    • Loading...
    • morchifus
    • Joined on 05-22-2007, 11:48 AM
    • Posts 1

    I have the same error with the installation of AJAX 1.0, without any beta version installed , and the solution was the same, I changed the tags in the web config and in the html and the problem was solved.

  • Re: Errors with UpdatePanel & WebPart stuff after upgrade

    05-22-2007, 9:21 AM

    Hi,
    I don't know to wich categories this belongs but SmartNavigation="true" seems to cause also a “Sys.WebForms.PageRequestManagerParserErrorException” also.

    Just some tip if you looking for hours just as I did ;)

    Grtz

     

  • Re: Errors with UpdatePanel & WebPart stuff after upgrade

    07-13-2007, 11:49 AM
    • Loading...
    • senyl
    • Joined on 04-21-2006, 10:36 AM
    • Salt Lake City, UT
    • Posts 10

    I've heard that you do not use SmartNavigation with AJAX (or even VS2005)

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