asp.net - TextBox Text is empty on postback -


I have a problem that happens from time to time but I can not know why this is happening.

I have a txtfilter; I put the value on the asp: button in the text box, which then returns the server back to the form and TCTIFfilter. The text property is empty Control where the size of the taxbox is changed dynamically on the page but it depends on a request parameter, so it is not the case that I'm not loading some controls that are loading first Was there.

The most weird part in this situation is however, txtfilter.text is empty, the request [txtFilter.Text.UniqueID] contains the value that I have entered.

Any thoughts?

If you are dynamically making / adding textbox controls, you need to do this in Page_inte , So it participates in the normal page event lifecycle.

The request [Controlled] will always include the price you entered < / Html>

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -