in my project there's a submit
button
<input type="submit" value="submit form" onclick="window.form1.submit();" id="subBut">
after some more work on the project and while adding few ImageButton
controls, it was standing out as un related button .
i tested an imageButton with onClick event . the code of onClick is still empty
<asp:ImageButton ID="ImgBut_Submt" ImageUrl="~/images/sendreq.jpg"
runat="server" OnClick="Submit_Click" style="width: 28px" />
code behind
protected void Submit_Click(object sender, ImageClickEventArgs e)
{
}
though seems that is doing same thing . is it ok to leave it as it is as a substitute
to a submit
button .. am i missing somthing here ?