I got a problem in GridviewCombox column when binding its item source property with collection View source. When i change any item in new row, the old rows get the sme item selected. I reported it earlier as well, but couldnt find any solution
Thanks
9 Answers, 1 is accepted
This is a know issues which is still unresolved. The only available workaround at the moment is to use any collection other than CollectionViewSource.
If this issue is really stopping you work we could raise its priority.
All the best,
Milan
the Telerik team

Could you please suggest me any other collection thorugh which i can bind combobox itemssource in gridview cell eiditing template. Using collection view source I do like
<telerik:RadComboBox x:Name="UnitDescriptors" DisplayMemberPath="Name" ItemsSource="{Binding Source={StaticResource UnitDescriptorsCollectionViewSource}}" />
And provide CollectionViewSource.Source = myobject collections.;
Its a kind of show stopper for me, if you could also put in your priority list, than it really good .Thanks
Well, there are several possible way to do that but we have resolved this issue in the meantime. Today's Internal Build will contain a fix for this issues. If you can upgrade your project to use this build there will be no need to change how the GridViewComboBoxColumn is bound.
All the best,Milan
the Telerik team

Thanks for resolving it. Could you please tell how can I upgrade my GridView control to get this bug resolved?
Thanks
To upgrade your project please have a look at the following help article.
Sincerely yours,
Hristo
the Telerik team

I have replaced the dlls as suggested in help document. I have checked all the references in my solution and all projects are showing the correct reference i.e (2010.2.903.40).
It builds succesfully but when it runs, it throws the exception {"Could not load file or assembly 'Telerik.Windows.Controls, Version=2010.2.812.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"Telerik.Windows.Controls, Version=2010.2.812.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7"} .
I hve checked my GAC as well but there is no dll of telerik as i have all dll's copy to local.
Kindly give any suggestion. I am attaching a screen shot for reference. Thanks
Hi Muhammad,
Unfortunately we were unable to publish an Internal Build last week but we will do that today.
In regard to the error, it seems that the project is still using an assembly with a lower version, Sometimes even though you have explicitly referenced new assemblies a project would choose to use assemblies that are located in folder or subfolders. Could you please verify that every assembly that is referenced by your project has the same version.
All the best,
Milan
the Telerik team

The new version Q2 SP2 has been released. Has this been resolved. ?
Thanks
Zubair
Yes , it has been resolved.
I am attaching a project to illustrate this .
It is with the very latest internal build ( 917) .
Here are some details on the issue :
CollectionViewSource has support for current item .
When you change a value in a combo box , the current item is changed and all comboboxes bound to this collectionviewsource responded to the change.
The newest telerik bits have the property IsSynchronisedWithCurrentItem of RadComboBox set to false by default. This prevents the combos to misbehave when bound to a collectionviewsource.
This is valid for the RadComboBox in the GridViewComboBox column.
In case you define your own combo box (e.g. inside a cell template) , you will need to set its IsSynchronizedWithCurrentItem property to false .
As a summary :
If you use a ComboBoxColumn - just use the lates build.
If you define your own combo box - set RadComboBox.IsSynchronizedWithCurrentItem = false; in XAML or in CS .
Kind regards,
Pavel Pavlov
the Telerik team