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

GridViewComboBoxColumn with Ria Services

3 Answers 50 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Amit Patel
Top achievements
Rank 1
Amit Patel asked on 21 May 2010, 03:49 PM
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:

 

<

 

 

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;

3 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 25 May 2010, 01:00 PM
Hello Amit Patel,

I will try to reproduce the problem here. For this I will need to know the exact version of the Telerik dlls you are using . Some source code showing the data you are using to bind the combo column would be helpful as well.

All the best,
Pavel Pavlov
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.
0
Amit Patel
Top achievements
Rank 1
answered on 25 May 2010, 03:04 PM
Hello Pavel,

I have created a support ticket (312992) for this with sample project attached to it. Please let us know if you have any work around for this.

Thanks
Amit
0
Pavel Pavlov
Telerik team
answered on 26 May 2010, 09:52 AM
Hi Amit,

Please upgrade to a later version . It seems the version I found in your project had some issues with the RadComboBox control. The problem is fixed in later versions.

Sincerely yours,
Pavel Pavlov
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.
Tags
GridView
Asked by
Amit Patel
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Amit Patel
Top achievements
Rank 1
Share this question
or