RadScheduleView: ComboBox Binding Issues

2 posts, 0 answers
  1. Ryan
    Ryan avatar
    1 posts
    Member since:
    Apr 2011

    Posted 19 Apr 2011 Link to this post

    I created a RadComboBox in the "Details" grid of the "EditAppointmentTemplate" that resembles the following code:

    <telerik:RadComboBox Grid.Row="7" Grid.Column="1" 
                                                 DataContext="{Binding Source={StaticResource viewModel}}"
                                                ItemsSource="{Binding CustomTypes}" 
                                                SelectedValue="{Binding SelectedItem.Value, Mode=TwoWay}" 

    I added a static resource that points to my view model in the resource dictionary:

    <App:ViewModel x:Key="vm"/>

    My view model has two objects, CustomTypes and CustomObject. The ComboBox correctly loads all of the types from CustomTypes, but it fails to bind the selected value from the CustomObject.  If I take the ComboBox out of the template and remove the Static Resource line, it works fine.  
  2. Valeri Hristov
    Valeri Hristov avatar
    2252 posts

    Posted 20 Apr 2011 Link to this post

    Hi Ryan,

    Can you send us a simple application that can be used to observe and debug the problem? We will reply with a suggestion asap.

    Valeri Hristov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top