multiple submits occur in asp net

Posted by perfectchourasia-9163 under ASP.NET on 11/14/2011 | Points: 10 | Views : 963 | Status : [Member] | Replies : 2
<asp:ImageButton ID="ImageButton1" ValidationGroup="a" ImageUrl="images/submit.jpg" runat="server" OnClientClick="return validateChangePassFirstLoginfrm();" border="0" OnClick="btnSubmit_Click" />
<asp:ImageButton runat="server" ID="ImageButton2" ImageUrl="images/reset.jpg" name="Image20" border="0" OnClick="ImageButton2_Click" />
<asp:ImageButton runat="server" ID="btnCancel" ImageUrl="images/cacel_button.jpg" name="Image20" border="0" OnClick="btnCancel_Click" />



Problem

On Submit button reset button also called automatically .

ER sandeep chourasia
sandeepchrs@yahoo.com (on facebook)
http://www.aspnetcodes.com/



Responses

Posted by: Jpchoudhari on: 11/14/2011 [Member] Starter | Points: 25

Up
0
Down
how do you got that?? have u debug ur code to see whether ur ImageButton2_Click handler is executing??

Kind Regards,
Jay

perfectchourasia-9163, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: perfectchourasia-9163 on: 11/14/2011 [Member] Starter | Points: 25

Up
0
Down
Problem gets solved it was due to the design. all images are in label thata why they r creating problem till now i can't understand y it happen .it gets solved thats wat i need

ER sandeep chourasia
sandeepchrs@yahoo.com (on facebook)
http://www.aspnetcodes.com/

perfectchourasia-9163, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response