Copied to clipboard

Flag this post as spam?

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


  • Simon Justesen 436 posts 203 karma points
    Feb 18, 2010 @ 07:51
    Simon Justesen
    0

    Let one usercontrol update another?

    Hi guys,

    I'm developing a small webshop, everything has been running smoothly so far, but now I need to update a literal control 'minicart1' every time the user clicks to put something in the basket. This only works when I manually press F5.

    I have tried putting the controls inside an updatepanel w/ partial rendering enabled and use a trigger to notify the literal control about the change. But then I get a YSOD saying that the literal control 'minicart1' cannot be found.

    I should mention that the shop controls are inside an iframe and the minicart is in the parent window. Tried moving the shop controls out of the iframe and onto the main page but it doesn't help.

    I can't figure out how to solve this - could it be related to the way umbraco caches pages?

  • Simon Justesen 436 posts 203 karma points
    Feb 18, 2010 @ 07:52
    Simon Justesen
    0

    Wow.. sorry for spamming the forum.. I only pressed submit once :)

Please Sign in or register to post replies

Write your reply to:

Draft