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

IsSynchronizedWithCurrentItem property is missing in GridViewComboBoxColumn

6 Answers 127 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Calin Calin
Top achievements
Rank 1
Calin Calin asked on 18 May 2010, 03:08 PM
Hi,

Consider adding IsSynchronizedWithCurrentItem to GridViewComboBoxColumn. As of now I am using this to work around the issue:

<Style TargetType="{x:Type telerikInput:RadComboBox}" BasedOn="{StaticResource {x:Type telerikInput:RadComboBox}}">
            <Setter Property="IsSynchronizedWithCurrentItem" Value="False" />
</Style>

The problem is that I bind the GridViewComboBoxColumn to a StaticResource of type CollectionViewSource and by default (in the latest release) you have IsSynchronizedWithCurrentItem  set to true this will make all my columns show the same item.

Let me know if you need a demo for this.

Regards,

6 Answers, 1 is accepted

Sort by
0
Accepted
Pavel Pavlov
Telerik team
answered on 18 May 2010, 03:39 PM
Hi Calin Calin,

Thanks for pointing out  this issue. I am updating your Telerik point . thank you for the valuable feedback .
Indeed this is a side effect of the binding to CollectionViewSource. As suggested we are going to add such property to the column .

Kind regards,
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
Calin Calin
Top achievements
Rank 1
answered on 18 May 2010, 04:21 PM
Thank you, they might turn very useful in a short wile.
0
Audreyn Justus
Top achievements
Rank 1
answered on 20 Aug 2012, 05:01 PM
Seems to me the problem returns (or persists) in the 2012.Q2 build (2012.2.0725.40) I am starting to use the wpf suite and have the same problem as Calin.

Applying the

<Style TargetType="{x:Type telerik:RadComboBox}" BasedOn="{StaticResource {x:Type telerik:RadComboBox}}">
            <Setter Property="IsSynchronizedWithCurrentItem" Value="False" />
</Style>

in my project solves the problem , what indicates that  the property IsSynchronizedWithCurrentItem is not applied to the GridViewComboBoxColumn class as it shoud be.

Edit: After some additional tests I  discover the problem only happens when the Expression Dark theme is loaded via MergedDictionaries (the same for the Metro theme). When the theme used is Office (Black, Silver or Black) the behavior is ok!

Telerik team: can you check?

0
Ivo
Telerik team
answered on 22 Aug 2012, 08:28 AM
Hello Audreyn,

How do you set the IsSynchronizedWithCurrentItem property to the GridViewComboBoxColumn? There is no such property into the GridViewComboBoxColumn so I can't really test it.

All the best,
Ivo
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Audreyn Justus
Top achievements
Rank 1
answered on 22 Aug 2012, 03:09 PM
Hi Ivo.

The setting is done by style setter and to the the internal RadComboBox (I think). Anyway after some additional tests (as informed in my post) I discover the problem is in reality caused (strange as it can be) by t themes. If I stop using the themes the problem disappears. It is related just to some of the Themes (Expression Dark is one of them)

I am opening  a support ticket and  attaching a sample app with the problem.

Best regards
0
Ivo
Telerik team
answered on 24 Aug 2012, 08:50 AM
Hello,

As I said into the support ticket this issue will be fixed with the next internal release. It will be available at the beginning of next week.

Greetings,
Ivo
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Calin Calin
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Calin Calin
Top achievements
Rank 1
Audreyn Justus
Top achievements
Rank 1
Ivo
Telerik team
Share this question
or