RadListBox: Cannot select items

7 posts, 0 answers
  1. naip
    naip avatar
    25 posts
    Member since:
    Sep 2009

    Posted 13 Jun 2012 Link to this post

    Hi Telerik Team,

    with the new release 2012.2.607.40, it is no longer possible to select items whether multiple or single.If you use the RadListBoxItem with the normal ListBox, everything is fine.

    Any idea?

    Greetings
    Huercan
  2. Georgi
    Admin
    Georgi avatar
    349 posts

    Posted 14 Jun 2012 Link to this post

    Hi,

    We have tried to reproduce it, but with no luck. You can find attached a simple project and simple video showing what I have tried. Can you, please check it out and let us know if we are doing the same thing?
    Also a simple project or a video could be helpful.

    Regards,
    Georgi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. naip
    naip avatar
    25 posts
    Member since:
    Sep 2009

    Posted 14 Jun 2012 Link to this post

    Hi Georgi,

    we are getting the message in xaml
    Error 2 The type 'telerik:RadListBox' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. 

    we are not really doing something exotic just       
    <telerik:RadListBox Grid.Column="0" x:Name="lbExcludeItems" Height="200" SelectionMode="Multiple"  ScrollViewer.HorizontalScrollBarVisibility="Auto" SelectionChanged="OnExcludeItemsSelectionChanged">
    </telerik:RadListBox>

    in the cs file RadListBoxItems are added to the ListBox, thats it.
    Theme is Metro.

    Thx for your help.

    Huercan
  5. naip
    naip avatar
    25 posts
    Member since:
    Sep 2009

    Posted 14 Jun 2012 Link to this post

    When i use the the normal ListBoxItem not the RadListBoxItem i can select items.
  6. naip
    naip avatar
    25 posts
    Member since:
    Sep 2009

    Posted 14 Jun 2012 Link to this post

    K. found my Error(s).

    First all i downloaded the zip and forgot to unblock the zip under the properties, that was the reason i was getting the error in the xaml.

    Next i was using ItemSource to set a list of RadListBoxItems, it seems that this is no longer supported. Now i am using box.Items.Add to add the items.
  7. Georgi
    Admin
    Georgi avatar
    349 posts

    Posted 18 Jun 2012 Link to this post

    Hi,

    It seems like it works on our side. If you are still experiencing the issue can you, please send us simple project or the code that you are using to add the RadListBoxItems? Also it might be helpful if you can tell us how do you set Metro Theme (using Style Manager or Implicit Styles).

    Kind regards,
    Georgi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  8. naip
    naip avatar
    25 posts
    Member since:
    Sep 2009

    Posted 25 Jun 2012 Link to this post

    Hi Georgi,

    works fine since we dont use the ItemSource. We are using the StyleManager to set the theme.

    Kind regars
    huercan
Back to Top
UI for WPF is Visual Studio 2017 Ready