Quantcast
Channel: Silverlight Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 801

Closed Issue: ListPicker [7951]

$
0
0
hello,
i am using the ListPicker control and it's bounded to both ItemSource and SelectedItem Properties.

when i use this xaml:

<toolKitControls:ListPicker Header="Priority" Grid.Row="2" Grid.Column="1" x:Name="PriorityComboBox"
ItemsSource="{Binding Path=Priorities}"
SelectedItem="{Binding Mode=TwoWay, Path=DataModel.Priority}"/>

everything works just fine,
but when i alter the code to the following:

<toolKitControls:ListPicker Header="Priority" Grid.Row="2" Grid.Column="1" x:Name="PriorityComboBox"
SelectedItem="{Binding Mode=TwoWay, Path=DataModel.Priority}"
ItemsSource="{Binding Path=Priorities}" />

i experience ArgumentOutOfRangeException at runtime,
i assume the SelectedItem is checked agianst the collection which is still empty.
in the framework control that doesn't occur.

just wanted to let ypou knowm
thanks!
Comments:

Closing as a duplicate of http://silverlight.codeplex.com/workitem/7561


Viewing all articles
Browse latest Browse all 801

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>