I need to customise the appointments dialog and this involves adding several additional combobox controls. I have read the following article:
http://www.telerik.com/help/silverlight/radscheduleview-howto-add-radcombobox-to-editappointmentdialog.html
However, I have a problem as we never set the DataContext of our views in XAML. I have tried binding the ItemSource of the combobox as follows:
http://www.telerik.com/help/silverlight/radscheduleview-howto-add-radcombobox-to-editappointmentdialog.html
However, I have a problem as we never set the DataContext of our views in XAML. I have tried binding the ItemSource of the combobox as follows:
<telerik:RadComboBox Grid.Row="4" Grid.Column="1" ItemsSource="{Binding Path=DataContext.Hauliers, RelativeSource={RelativeSource AncestorType=UserControl}}" />
This doesn't work and I simply get a binding exception. How can I get the Itemsource binding to work without using a static resource as suggested in the article above?
Regards
Myles J