Disabled Text Box style

2 posts, 0 answers
  1. Dariush Habibi
    Dariush Habibi avatar
    7 posts
    Member since:
    Oct 2012

    Posted 14 Sep 2012 Link to this post

    Like a text box which is disabled but the data is clearly readable so regular while or dark gray on white background.  Have not been able to change the colors since the text box is disabled.  Just basically want to kill the editing possibility but keep the data readable.

  2. Stefan
    Stefan avatar
    2908 posts

    Posted 17 Sep 2012 Link to this post

    Hi Dariush,

    Thank you for writing.

    I assume that you want to make RadTextBox read only so it keeps its appearance but does not allow editing. If so, here is how to do it:
    radTextBox1.ReadOnly = true;

    I hope this helps.
    Kind regards,
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Back to Top