c# - Validation in imagebutton, button not occuring -


In my project, clicking on the button and clicking on the imagebutton_click is not being validated. Why can this happen?

I also gave all validations and buttons the same verification group and gave the reason for "truth" in the button

Please help solve it.

Also add and check the verification group in the image button. Also check whether your image button has image or not. In other wise, it will not stop events

**

  & asp: textbox id = "txt_password" runat = "server" CssClass = "text_box_password" textmode = " Password "width =" 180px "& gt; & Lt; / Asp: text box & gt; & Lt; Asp: RequiredFieldValidator id = "RequiredFieldValidator2" runat = "server" ControlToValidate = "txt_password" error message = "*" validation group = "AAAA" & gt; ** & lt; / Asp: RequiredFieldValidator & gt;   

**

Comments