P
Philip Townsend
I have a user control that displays the contents of a shopping cart. I
want this control to update its contents whenever an item is added to
the cart. Currently, the cart only updates if it is forced to do so
through a page reload or clicking a button within the user control
itself (thereby reloading the user control). I want to raise an event in
the user control whenever an item is added to the cart. This event
should cause the current contents of the cart to be displayed by the
user control. Any ideas? Is a custom event handler the way to go about
this? Are there any good resources on how to do this?
want this control to update its contents whenever an item is added to
the cart. Currently, the cart only updates if it is forced to do so
through a page reload or clicking a button within the user control
itself (thereby reloading the user control). I want to raise an event in
the user control whenever an item is added to the cart. This event
should cause the current contents of the cart to be displayed by the
user control. Any ideas? Is a custom event handler the way to go about
this? Are there any good resources on how to do this?