Q
Quentin Huo
Hi:
I programmingly created a TextBox control, as:
TextBox tbPublisher = new TextBox();
tbPublisher.ID="thepublisher";
tbPublisher.Text="Quentin";
I don't want others to modify the text of this control, how can I do?
I tried making it be 'readonly', by adding:
tbPublisher.ReadOnly=true;
But the text area will be empty (nothing show up in the text box).
What can I do?
Thanks
Q.
I programmingly created a TextBox control, as:
TextBox tbPublisher = new TextBox();
tbPublisher.ID="thepublisher";
tbPublisher.Text="Quentin";
I don't want others to modify the text of this control, how can I do?
I tried making it be 'readonly', by adding:
tbPublisher.ReadOnly=true;
But the text area will be empty (nothing show up in the text box).
What can I do?
Thanks
Q.