Textbox disabled

Hey,

How do you make it so a textbox is diabled So nobody can type in it...

Thanks




Answer this question

Textbox disabled

  • Marcus J

    Thanks,

    I did not notice those options...lol



  • MariaR

    I think you are refering to a 'readonly' textbox That would be setting the TextBox.ReadOnly property to true.

    If you are refering to actually disabling the control so nothing can be done with it (not even copy/pasting values from it, use the TextBox.Enabled property. Set is to false.



  • Textbox disabled