简体   繁体   中英

Events on Master Page event not firing with Validation Controls

I have applied some textboxes in content pages . I have applied some Validations Controls on it.

What i have done so far is this,

    <asp:TextBox ID="txtE1" runat="server" CssClass="input_type_text" Width="75px"  CausesValidation="false" ValidationGroup="te" >
<asp:RequiredFieldValidator ID="rqdE1" runat="server" ControlToValidate="txtE1"
                         ErrorMessage="*"></asp:RequiredFieldValidator>

I have a Sign Out link on the master Page. I am unable to generate that event. Any other thing i am missing/required?

If you have validation errors on the page, the javascript validation prevents the page to postback. If sign out is in the scope of the textbox's form, maybe this is the problem in your case. Can you see if there are validation errors?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM