Forum Moderators: open

Message Too Old, No Replies

Refresh User Control On Postback

         

haggul

3:44 pm on Apr 26, 2007 (gmt 0)

10+ Year Member



I have a user control which is effectively my basket summary which is contained within the master page.

My content page contains add to basket buttons which work just fine on postback, but the user control will not refresh until a subsequent page view.

I do want the user to be returned to where they were so that's why I am not redirecting off to other pages - does anyone have any ideas on getting this to work please?

TheNige

7:59 pm on Apr 26, 2007 (gmt 0)

10+ Year Member



When you are clicking the add to cart buttons, are you causing a postback, or are you using an Ajax postback?

In what event are you calling the Cart "refresh" method that gets the data for your cart summary control?

[edited by: TheNige at 8:00 pm (utc) on April 26, 2007]