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