Hi,
I am trying to select values from a bounded combobox inside a GridView.
But after a select it and try to select other the previous selected value is not visible.
below is code in xaml :-
<telerik:RadGridView Margin="5,0,0,0" Grid.Row="4" Grid.ColumnSpan="2" Name="gvGISMapFields" Width="610" ShowColumnHeaders="True" ShowGroupPanel="False" Height="250">
<telerik:RadGridView.Columns>
<telerik:GridViewComboBoxColumn Name="MatchingField" DisplayMemberPath="MatchingField" UniqueName="MatchingField" HeaderText="Target Field" IsFilterable="False" IsGroupable="False" IsReorderable="False" IsSortable="False" TextAlignment="Center" Width="250"/>
</telerik:RadGridView.Columns>
</telerik:RadGridView>
below is code in xaml.cs :-
GridViewComboBoxColumn matchingField = (GridViewComboBoxColumn)gvMapFields.Columns[1];
matchingField.ItemsSource = matchingGISFields;
<telerik:RadComboBox ItemsSource="{Binding}" DisplayMemberPath="Name" x:Name="cboCurrencyList" />Source="{Binding ElementName=cboCurrencyList, Path=SelectedValue}"/>public class CalendarButtonTemplateSelector : DataTemplateSelector { public override DataTemplate SelectTemplate(object item, DependencyObject container) { CalendarButtonContent content = item as CalendarButtonContent; if (content != null && content.ButtonType == CalendarButtonType.Date) { if (CentralCalendarWindow.CalendarViewItems != null && CentralCalendarWindow.CalendarViewItems.Exists(c => c.Date == content.Date)) { CalendarViewItem calendarViewItem = CentralCalendarWindow.CalendarViewItems.Find(c => c.Date == content.Date); if (calendarViewItem.IsHoliday) { return HolidayTemplate; } } } } }<DataTemplate> <StackPanel> <TextBlock Text="{Binding Text}" /> <TextBlock Text="{Binding CustomText}" /> </StackPanel> </DataTemplate>Hi,
Hi,
I really love working with the telerik toolkit but I stumbled upon a problem. When I try to select a datapoint via c#, the code executes but nothing happens.
The code I use:
chartarea.SelectItem(index);When I debug my application, I can see all the necessary data is in my chart but after executing this statement, the SelectedItems property hasn't changed and neither did the chart itself.
Are there any suggestions to do this anyway?
Kind regards,
Michiel