This is a migrated thread and some comments may be shown as answers.

Selectable Text When Disabled Style?

1 Answer 80 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 18 Sep 2012, 11:03 PM
Hello,
I am attempting to customize the default RadComboBox style to allow the Text in the PART_EditableTextBox to be selectable (but not editable) when the combobox is disabled. I've modified the IsReadOnly and IsEditable properties of the part in the Disabled State to no effect. No matter what modifications I make to the style, the end result is still a disabled textbox that does not allow me to select it's contents.

I ran a quick search throught this forum and have not encountered anybody asking for this feature. Can you provide me with an example or steps to produce my desired feature?

Thanks very much in advance for any assistance.

1 Answer, 1 is accepted

Sort by
0
Masha
Telerik team
answered on 20 Sep 2012, 08:45 AM
Hi David,

The needed behavior can be achieved with the following properties:

<telerik:RadComboBox IsEditable="True" IsReadOnly="True">

Note that whether the Text is selectable is controlled by IsReadOnly property, not by IsEnabled.

Hope this helps.

Greetings,
Maria
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Tags
ComboBox
Asked by
David
Top achievements
Rank 1
Answers by
Masha
Telerik team
Share this question
or