refresh - product listing/availability
Hello everyone
I am really new on web coding and expecting a problem with theBeerHouse kit.
I have modified the productlisting usercontrol in order tu use listview (visual web express 2008) for showing product (3*3).
The problem comes when I register an order, the availability doesn't refresh in the browseproduct page, but is correct in showproduct.
some code:
[u]productListing.ascx</u>
<asp:ListView DataSourceID="objProducts" ID="lvwProducts" runat="server" GroupItemCount="3">
[...]
<mb:AvailabilityDisplay runat="server" ID="availDisplay" Value='<%# Eval("UnitsInStock") %>' />
[...]
</asp:ListView>
the objectdatasource is the same as before
I tried to put databind() in code-behind (page_load or page_prerender) but it doesn't work.
Perhaps someone should help me,
Best regards
and apologize me for my bad english
|