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

RadListBox: Cannot select items

6 Answers 280 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
naip
Top achievements
Rank 2
naip asked on 13 Jun 2012, 07:12 AM
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

6 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 14 Jun 2012, 07:27 AM
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 >>

0
naip
Top achievements
Rank 2
answered on 14 Jun 2012, 08:06 AM
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
0
naip
Top achievements
Rank 2
answered on 14 Jun 2012, 08:23 AM
When i use the the normal ListBoxItem not the RadListBoxItem i can select items.
0
naip
Top achievements
Rank 2
answered on 14 Jun 2012, 09:00 AM
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.
0
Georgi
Telerik team
answered on 18 Jun 2012, 12:41 PM
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 >>

0
naip
Top achievements
Rank 2
answered on 25 Jun 2012, 11:09 AM
Hi Georgi,

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

Kind regars
huercan
Tags
ListBox
Asked by
naip
Top achievements
Rank 2
Answers by
Georgi
Telerik team
naip
Top achievements
Rank 2
Share this question
or