Code: Select all
<asp:HyperLink NavigateUrl="~/Basket.aspx" runat="server"><span class="menubartotaltext">Cart:</span> <asp:Label ID="MessageLabel" runat="server" Text="{0} item{1}" /></asp:HyperLink><asp:HyperLink NavigateUrl="~/Basket.aspx" runat="server"><span class="menubartotaltext">Total:</span> <asp:Label ID="Total" runat="server"></asp:Label></asp:HyperLink>
Is there is way to update the values in the labels whenever an add to cart button is clicked(buyproductdialog) without having to refresh the whole page?
I cant figure out how it works with the minibasket, but id like to do a similar thing.