Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • MuirisOG 382 posts 1284 karma points
    Jul 03, 2017 @ 13:45
    MuirisOG
    0

    Updatepanels on v7.5.14

    Hi everyone,

    we've got two versions of Umbraco running - v.7.5.2 and v.7.5.14

    Updatepanels are working on v7.5.2 and although I have made minor changes to everything in v.7.5.14, they are nearly identical, but updatepanels are not working on v.7.5.14

    Any help would be gratefully received.

    HTML1300: Navigation occurred.
    File: 2195
    SCRIPT5022: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ContentPlaceHolderDefault_ctl25_nptLLPG_4_addresslookup_upAddressLookup'. If it is being updated dynamically then it must be inside another UpdatePanel.
    File: ScriptResource.axd, Line: 885, Column: 13
    
  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Jul 03, 2017 @ 13:47
    Alex Skrypnyk
    0

    Hi MuirisOG

    Updatepanels are not related to Umbraco version, can you show the code of control that causes the problem?

    Alex

  • MuirisOG 382 posts 1284 karma points
    Jul 04, 2017 @ 08:41
    MuirisOG
    0

    Hi Alex

    I've managed to fix one by adding the code UpdateMode="Conditional" to the tag. However, we have them dotted throughout a number of usercontrols on our site, and they work on the v7.5.2 site but not v7.5.14 (in fact, some still work on v7.5.14 but not all??!!).

    I understand your point about being unrelated to the Umbraco version, but I was thinking maybe I could check Ajax or with my ScriptManagers... anything, really, because I'm pulling my hair out.

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Jul 04, 2017 @ 09:01
    Alex Skrypnyk
    0

    Hi MuirisOG

    Can you check log what lines of code are not working?

    Maybe some dll version is wrong, it should work.

    Thanks,

    Alex

  • MuirisOG 382 posts 1284 karma points
    Jul 04, 2017 @ 10:01
    MuirisOG
    0

    Hi Alex

    many thanks for your reply.

    Here's what we did:

    On some usercontrols, it was a simple matter of adding UpdateMode="Conditional" to the UpdatePanel.

    On others, where we still get the Could not find UpdatePanel with ID 'ASP.NET-Web-Server-Control-Identification-ID' (i.e. where .NET creates some garbled Control ID), we added ClientIdMode="Static" (we added this to a Checkbox control and an UpdatePanel that it couldn't find, despite the fact that it could find about 20 other controls in the same usercontrol).

    Finally, we found we had to add a new check on a usercontrol's page postback where we were populating a dropdown list as this was being continually added to.

    The funny thing is that these were fine in v7.5.2

    I think we've hacked our way to getting this control working again.

    If we find out anything more, we'll let you know.

    Many thanks

    Muiris

  • MuirisOG 382 posts 1284 karma points
    Jul 10, 2017 @ 15:18
    MuirisOG
    100

    Hi Alex,

    just to let you know, we had a bigger problem than UpdatePanels not working.

    The full story is here: https://our.umbraco.org/forum/templates-partial-views-and-macros/86736-page-events-eg-page_load-are-being-fired-twice

    Thanks

    Muiris

Please Sign in or register to post replies

Write your reply to:

Draft