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

RadComboBox Cell And Scrolling

0 Answers 128 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Ahmad
Top achievements
Rank 1
Ahmad asked on 28 Jun 2017, 06:28 AM

Hi,

I asked this question in GridView forum but nobody get feedback!

please help me to fix it.

In my GridViewDataColumn I set following CellTemplate:
 
<StackPanel Orientation="Horizontal">
      <telerik:RadComboBox IsEditable="True" x:Name="rcb" 
                           DisplayMemberPath="Name" 
                           Loaded="RadComboBox_Loaded" 
                           Text="{Binding State, Mode=TwoWay}" Width="100"/>

      <TextBlock Text="{Binding ElementName=rcb, Path=Text}" Margin="2 0" Width="100"/>
</StackPanel>


and the RadCombobox Items can be Following Values:
VeryBad, Bad, Good Plus, Good Neg, Good, ...

I set value of the first cell to Good
(=> RadComboBox and TextBlock Both show Good)
but when I scrolling 
the text of RadCombobox change to Good Plus
but TextBlock Shows Good.

My Solution:
https://www.mediafire.com/?2v5p21y6k8w0a7o


No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
Ahmad
Top achievements
Rank 1
Share this question
or