I have started using jquery in one of my new asp.net webform application... I want to display a success message after an insert on a button click event... Here is my link button..
<asp:LinkButton ID="LbOk" runat="server" CssClass="regular"
onclick="LbOk_Click" OnClientClick="return validateEmployee();" >
</asp:LinkButton>
And my OnClick Event:
protected void LbOk_Click(object sender, EventArgs e)
{
if (inserttoDB())
{
// display successfully inserted using jquery
}
else
{
// display Insert Failed using jquery
}
}