Hi
I am using image save button,and i writing code for save ,byt the event is not geting fired
<asp:ImageButton ID="btnsave" runat="server" ImageUrl="sub_btn.png"
OnClick="btnsave_Click" Width="100px" Height="35px" />
protected void btnsave_Click(object sender, CommandEventArgs e)
{
if (e.CommandName == "update")
{
UpdateOrNewRecord(true);
}
else
{
UpdateOrNewRecord(false);
}
}
public void UpdateOrNewRecord(bool isupdate)
{
//
}
when i click on save .its not getting fired.Please tell me reason
vijaya