Unable to get textbox value from server side is not a bug in ASP.NET but is a feature. Textbox value cannot be read from code behind if it is readonly as per MSDN .
But the value can be read using the following syntax :
txtFirstName.Text = Request[txtFirstName.UniqueID];
“The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge.”
– Stephen Hawking
0 comments:
Post a Comment