Hi smile,
Refer below sample. Add PostBackTrigger for each Button.
HTML
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Button ID="btnAdd" Text="Add" runat="server" OnClick="Add" />
<asp:Button ID="btnUpdate" Text="Update" runat="server" OnClick="Update" />
<asp:Button ID="btnDelete" Text="Delete" runat="server" OnClick="Delete" />
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="btnAdd" />
<asp:PostBackTrigger ControlID="btnUpdate" />
<asp:PostBackTrigger ControlID="btnDelete" />
</Triggers>
</asp:UpdatePanel>
Code
protected void Add(object sender, EventArgs e)
{
ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('Add clicked.');", true);
}
protected void Update(object sender, EventArgs e)
{
ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('Update clicked.');", true);
}
protected void Delete(object sender, EventArgs e)
{
ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('Delete clicked.');", true);
}
Screenshot