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

Showing selected Iitems in a disabled ListBox

2 Answers 141 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
Richard asked on 16 Oct 2015, 10:26 AM
I have a very simple ListBox populated by a list of strings. When it's enabled I can clearly see the selected items, however when I disable it (crude read-only mode). I can't see what has been selected, is there a way to still show selected items on a disabled ListBox? or a better way of making it Read-Only? 

Thanks,
Richard

2 Answers, 1 is accepted

Sort by
0
Accepted
Masha
Telerik team
answered on 19 Oct 2015, 10:20 AM
Hi Richard,

We are aware of described behavior and it happens only when Disabled RadListBox is loaded at first time. As a workaround I suggest you setting IsEnabled property through Dispatcher when RadListBox is loaded.

I attached a sample project demonstrating the above approach. I hope it helps.

Regards,
Masha
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 19 Oct 2015, 11:10 AM
Thanks Masha, that worked for me. 
Tags
ListBox
Asked by
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Masha
Telerik team
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
Share this question
or