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

SelectedItem databinding problems

1 Answer 114 Views
ListPicker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Roberto Moro
Top achievements
Rank 1
Roberto Moro asked on 11 Jan 2011, 01:03 PM
Hi!

I'm testing the new RadControls for Windows Phone 7, I have a problem with databinding on SelectedItem property

Below the xaml:
<telerikInput:RadListPicker
                            PopupHeader="Dimensione:"
                            HeaderStyle="{StaticResource HeaderStyle}"
                            PopupHeaderStyle="{StaticResource PopupHeaderStyle}"
                            ItemsSource="{Binding Dimensions}"
                            SelectedItem="{Binding Dimension}"
                            InlineModeThreshold="1">
                            <telerikInput:RadListPicker.ItemTemplate>
                                <DataTemplate>
                                    <TextBlock Text="{Binding Description}"/>
                                </DataTemplate>
                            </telerikInput:RadListPicker.ItemTemplate>
                            <telerikInput:RadListPicker.PopupItemTemplate>
                                <DataTemplate>
                                    <StackPanel Orientation="Vertical">
                                        <TextBlock Text="{Binding Description}"/>
                                    </StackPanel>
                                </DataTemplate>
                            </telerikInput:RadListPicker.PopupItemTemplate>
                        </telerikInput:RadListPicker>

SelectedItem value is always the first item of collection.

Do you have some hints?

Best Regards

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 14 Jan 2011, 08:09 AM
Hi Roberto,

Please accept my apologies for the delayed answer.

As discussed in this forum post, this is a known issue of the CTP version of RadListPicker. The problem is that the raw data item does get selected but its UI container (ListPickerItem) is not visually moved at the correct position. We are currently working on a beta version that should be available at the beginning of February. As well as many new features and components, this Beta will contain fixes of all the known bugs so far.

I would like to thank you for your time and your feedback - it is most welcome. Do not hesitate to contact us with any questions and/or suggestions you may have.

Greetings,
Georgi
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
ListPicker
Asked by
Roberto Moro
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or