I am using GridViewComboBoxColumn with ria services, and setting its itemsource to the collection, but when i run it and click on the combobox, i get exception. The same setup was working when i was using DevForce, but after converting to Ria services, it started to throw exception.
Category: ManagedRunTimeError
Message: System.Exception: Error HRESULTE_FAIL has been returned from a call to COM component
Here is my code:
Code behind:
Category: ManagedRunTimeError
Message: System.Exception: Error HRESULTE_FAIL has been returned from a call to COM component
Here is my code:
<
telerik:GridViewComboBoxColumn HeaderTextAlignment="Center" DataMemberBinding="{Binding InitialRevenueContour1, Mode=TwoWay}"
DisplayMemberPath="Name" UniqueName="InitialRevenueContour" Background="#86F780" Width="120">
<telerik:GridViewComboBoxColumn.Header>
<telerikControl:AlignmentContentPresenter TextWrapping="Wrap" Content="Initial Revenue Contour" />
</telerik:GridViewComboBoxColumn.Header>
</telerik:GridViewComboBoxColumn>
Code behind:
GridViewComboBoxColumn
colum = _gridViewFinancing.Columns["InitialRevenueContour"] as GridViewComboBoxColumn;
colum.ItemsSource = contours;