What's the difference between the Enabled and the ReadOnly-properties of an asp:TextBox control?
If a control is disabled it cannot be edited and its content is excluded when the form is submitted.
disabled
If a control is readonly it cannot be edited, but its content (if any) is still included with the submission.
readonly
2.1m questions
2.1m answers
60 comments
57.0k users