

I am dynamically generating tabs based on databinding. After I change the datacontext I get the tabs I expect but none of the tabs are selected. I am expecting a tab (likely the first one) to be selected when this happens. I should mention I am using an older version R2 2017
<CheckBox x:Name="cbox" Click="CheckBox_Checked">Click Me</CheckBox><telerik:RadTabControl x:Name="tabCtrl" DisplayMemberPath="Name" ItemsSource="{Binding TabItems}" Height="250"/>private void TabCtrl_DataContextChanged (object sender, DependencyPropertyChangedEventArgs e) { // Attempting to fixt the problem here. Tabs are still unselected when changing data context this.tabCtrl.SelectedIndex = 0; }/// <summary>/// Simulating a data context change in a complicated MVVM scenario here/// </summary>/// <param name="sender"></param>/// <param name="e"></param>private void CheckBox_Checked (object sender, RoutedEventArgs e) { if ( cbox.IsChecked == true ) { this.tabCtrl.DataContext = m_mainVm.TabViewModelA; } else { this.tabCtrl.DataContext = m_mainVm.TabViewModelB; } }

In the following example of MVVM application i tried to bind AccessKey to ribbon items to ribbon items. Unfortunatly the user have to navigate through ribbon and cannot use hotkey direcctly. The user have to press hotkey for tab to can use Hotkey for button. Which is just a little bit unpractical if the user wants to use to acces functionality direct, or to inform which hotkey is for which button.
In your example for RibbonView(wpf) called "Office" ,if I press Alt and cann see all ToolTips for. Do I miss some think in my exampple?
Hi,
Recently I have changed my WPF application Root window from Window to RadRibbonWindow and this RadRibbonwindow is not loading application Icon from embedded resources. What do I need to do, to make RabRibbonWindow load an icon "ico" from resources automatically? My all other Windows are loading Icon from embedded resources automatically.

Hello,
it seems the radtimepicker is always using the US Date format. Why is it not using the the host machine localisation ? The problem is now I can not easily convert to date time (even though only the time portion is relevant ) . Please see attached screen shot. Here in South Africa our machines are set to DD/M/YYYY plus time but the timepicker is return the full date in us format M/DD/YYYY plus time.

Hello,
i am upgrading an old project that uses .NET 3.5 and Telerik UI for WPF 2012.x to the latest .NET and Telerik UI versions. I have a GridView whose ItemsSource is bound to a RadObservableCollection provided by a MVVM viewmodel. As i rememder i used this collection because of the RemoveRange-method which had some performance benefits compared to the ObservableCollection.Remove-method (suspending the collectionchanged-events).
But now i have the problem, that, if a least one column is sorted, not the correct rows are removed. The rows removed are those, that are in the place of the rows i want to delete if the table were unsorted. Deleting from an unsorted GridView works fine. If i use the Remove-method in a loop instead of the RemoveRange deleting works as expected in sorted and unsorted GridViews.
Is it not longer recommended to use the RadObservableCollection as an ItemsSource for a GridView or is it a bug?
Hi,
I have a GridView with a GridViewCheckBoxColumn that is bound to a 'IsSelected' property of an entity.
<telerik:GridViewCheckBoxColumn Header="" DataMemberBinding="{Binding IsSelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" AutoSelectOnEdit="True" EditTriggers="CellClick" >
The entity also has a property 'NetLength'. The entities are grouped by some other property. Each time an entity gets checekd or unchecked, I need to calculate the sum of NetLength. I've done that by adding a custom aggregate funcion in code behind.
var selectedItemsTotalMetersfunction = new AggregateFunction<PartNumberModel, decimal>();selectedItemsTotalMetersfunction.AggregationExpression = pnrs => pnrs.Where(pn => pn.IsSelected).Sum(pn => pn.NetLength ?? 0);selectedItemsTotalMetersfunction.Caption = "Meters:";grdShippingOrder.Columns["NetLength"].AggregateFunctions.Add(selectedItemsTotalMetersfunction);
Now, all this works fine except for the fact that the bounded property 'IsSelected' only gets changed when the row changes. Also my total of NetLength is recalculated only when row changes. How can I force the calculation to be done at the moment the checkbox is checked/unchecked ?
In Winforms, the GridViewCheckBoxColumn has a property 'EditMode' which can be set to 'OnValueChange'. Is there something similar in WPF ?
Regards,
Hans

Hi,
I am unable to persist the group filters of RadPivotFieldList.
Please suggest a way for the same.
Regards,
Swapnil