简体   繁体   中英

Textbox Textchanged event

This is with reference to.Net Framework 3.5.

How does a Textbox Server Control raises TextChanged Event through IPostbackdata handler.

Does it uses viewstate internally to store previous value?.

Thanks in advance.

A detailed answer to your question is here: When TextBox TextChanged event is fired?

ViewState is required, see the MSDN TextBox.TextChanged documentation :

A TextBox control must persist some values between posts to the server for this event to work correctly. Be sure that view state is enabled for this control.

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