I am making app for client with Repeater control and using update panel.
I have trigger event for button but when i click its postback whole page
this is the tesing link and attaching code aswell. thank you
https://festive-fermi.199-231-93-236.plesk.page/Forms/Order.aspx
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Order.aspx.vb" Inherits="Trade_Buddy.Order" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Order</title>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link href="//cdn.muicss.com/mui-0.10.3/css/mui.min.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="//cdn.muicss.com/mui-0.10.3/js/mui.min.js"></script>
</head>
<body>
<form id="form1" runat="server" class="mui-form">
<div class="mui-container-fluid">
<asp:ScriptManager runat="server" EnablePageMethods="true">
</asp:ScriptManager>
<asp:UpdatePanel ID="upd1" runat="server" >
<Triggers>
<asp:AsyncPostBackTrigger EventName="click" ControlID="btnadd" />
<asp:AsyncPostBackTrigger EventName="click" ControlID="btnremove" />
</Triggers>
<ContentTemplate>
<asp:Button runat="server" Visible="false" ID="btnadd" Text="Add"></asp:Button>
<asp:Button runat="server" Visible="false" ID="btnremove" Text="Remove"></asp:Button>
<h1>
<asp:Label ID="lblStorename" Visible="false" runat="server"></asp:Label></h1>
<p>
<asp:Label ID="lblCartId" Visible="false" runat="server"></asp:Label>
</p>
</div>
<asp:Repeater ID="RepDetails" runat="server" EnableViewState="true">
<ItemTemplate>
<div class="mui-container">
<table class="mui-table mui-table--bordered">
<tbody>
<tr>
<td>
<img src='<%#Eval("Image")%>' style="block-size: 60px" alt='<%#Eval("Item")%>'>
</td>
<td><%#Eval("Item")%> <%#Eval("Description")%></td>
<td>₹<%#Eval("Rate")%></td>
<td>
<button runat="server" class="mui-btn mui-btn--danger" onserverclick="btnremove_Click">-</button>
</td>
<td>
<div class="mui-textfield">
<asp:TextBox runat="server" Text="0" TextMode="Number" Style="text-align: center" ID="txtqty"></asp:TextBox>
</div>
</td>
<td>
<button runat="server" class="mui-btn mui-btn--primary" onserverclick="btnadd_Click">+</button>
</td>
</tr>
</tbody>
</table>
<asp:Label runat="server" ID="lblitemid" Text='<%#Eval("id")%>' Visible="false"></asp:Label>
</div>
</div>
</ItemTemplate>
<FooterTemplate>
<asp:LinkButton runat="server" class="mui-btn mui-btn--primary" ID="btncheckout" OnClientClick="checkout">Confirm Order (Total :<asp:Label runat="server" ID="lbltotalitem" Text="0"> </asp:Label>) <i class="fa fa-shopping-cart"></i></asp:LinkButton>
</FooterTemplate>
</asp:Repeater>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
</body>
</html>