简体   繁体   中英

postback hide requirefieldvalidator asp.net

i am working with WepApplication and the problem is i have one textbox with autopostback="true" and some other textboxes and dropdowns with Validators like requirefield n regularexpression etc.. when i Click on "Submit" button,

Form is validated client side and All Requirefiled validators shows but after this problem starts when i changes text on textbox(autopostback=true") all validators are hide... but note one thing i want to fire OnTextChanged event bz if i add CausesValidation="true" it will not call OnTextChanged

so is there any way to show validator(messages) even page autopostbacked....

help me plz.

thanx in advance...

TextBoxCauseValidation属性设置为true

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