So my problem is when I use Triggers it is not a refreshing page That's what I want, but it's not updating the label <pre>lblQtyandRate
PostBackTrigger
<pre><asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional" > <ContentTemplate> <div class="number-left"> <asp:LinkButton Text="-" ID="btnRemoveProduct" CommandName="RemoveItem" CommandArgument='<%#Eval("ProductID") %>' runat="server" OnClick="btnRemoveProduct_Click" /> </div> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="btnRemoveProduct"/> </Triggers> </asp:UpdatePanel> <div class="number-middle"> <asp:Label ID="lblQtyAndRate" runat="server" Text="0 / Rs. 0.00"></asp:Label> </div> <asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional" > <ContentTemplate> <div class="number-right"> <asp:LinkButton Text="+" ID="btnAddProduct" CommandName="AddItem" CommandArgument='<%#Eval("ProductID") %>' runat="server" OnClick="btnAddProduct_Click" /> </div> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="btnAddProduct"/> </Triggers> </asp:UpdatePanel>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)