Set TextBox's ReadOnly property to "True" will cause many side effects. How to retain all the functionalities and also have the ReadOnly function turn on? Here is the better way to do this compare with setting the ReadOnly property directly.
TextBox1.Attributes.Add("readonly", "readonly");
Let me know if you have better approach. :)
No comments:
Post a Comment