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

Another Collection as a Filter Question

0 Answers 20 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 16 Nov 2011, 02:59 PM
Hi,
I am having a similar issue to the previous thread.The examples in that thread helped me get my collection of objects to show up in the filter, but when I select an item the value is always <UnSet>. I have gone through all my code and it all looks very similar to the rest of the code in this thread. One place where it differs a bit is in my DataTemplate. It looks like this:

<DataTemplate x:Key="AccountingPeriodEditorTemplate">
                <telerikComboBox:RadComboBox SelectedValue="{Binding Value, Mode=TwoWay}"
                                             DisplayMemberPath="Name"
                                             SelectedValuePath="ID"
                                             IsEditable="True"
                                             IsReadOnly="True"
                                             ClearSelectionButtonContent="[Blank]"
                                             ClearSelectionButtonVisibility="Visible"
                                             Width="100"
                                             telerik:StyleManager.Theme="{StaticResource CustomComboTheme}" />
            </DataTemplate>

The RadComboBox is bound to an Observable collection of type "AccountingPeriod", which is an Entity class. I know the RadComboBox is bound correctly as I get a list of Accounting Periods in my drop down in the RadDataFilter. Do you have any ideas for this? Would it be helpful to see some other code section?

No answers yet. Maybe you can help?

Tags
DataFilter
Asked by
Sean
Top achievements
Rank 1
Share this question
or