Showing selected Iitems in a disabled ListBox

3 posts, 1 answers
  1. Richard
    Richard avatar
    72 posts
    Member since:
    Feb 2009

    Posted 16 Oct 2015 Link to this post

    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. Answer
    Masha
    Admin
    Masha avatar
    355 posts

    Posted 19 Oct 2015 Link to this post

    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
  3. DevCraft banner
  4. Richard
    Richard avatar
    72 posts
    Member since:
    Feb 2009

    Posted 19 Oct 2015 in reply to Masha Link to this post

    Thanks Masha, that worked for me. 
Back to Top