forcing a user control to update??

Discussion in 'ASP .Net' started by Philip Townsend, Oct 17, 2003.

  1. I have a user control which displays the contents of a shopping cart. I
    wnat it to update everytime an item is added or deleted from the cart. I
    have created a button which edits a Session object, then I want the
    usercontrol to display the contents of the session object. Problem: The
    user control will not update until it is refreshed. Is there any way to
    force the user control to refresh?
    Philip Townsend, Oct 17, 2003
    1. Advertisements

  2. You must refresh the page that the control is on.
    You might want to use SmartNavigation to give the illusion that only the
    control is refreshing.
    Steve C. Orr [MVP, MCSD], Oct 17, 2003
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.