How would update a Label on a User Control (.ascx.vb file) with a Session variable from another User Control as that variable is changed?
I want to update the shopping cart total at the top of the page (a Header as a User Control) when
"Add to Cart" is clicked from another control:
Session("total") = String.Format("{0:c}", cart.amt)
Then I want the Label in the other control (Header) updated
as soon as it is changed from the other control:
total.Text = Session("total")
Can this be done?
Thanks
I want to update the shopping cart total at the top of the page (a Header as a User Control) when
"Add to Cart" is clicked from another control:
Session("total") = String.Format("{0:c}", cart.amt)
Then I want the Label in the other control (Header) updated
as soon as it is changed from the other control:
total.Text = Session("total")
Can this be done?
Thanks