Hello,
Is it possible to select the grouping row in RadGridView or have the grouping row contain a column, that can set the value to all the rows in the group- for instance a bool value (check box) in the grouping row sets the same value in all the rows below?
Best regards

Hi,
Our request relates to the solution “LocalDataSourceSerialization_WPF“ on PivotGrid/Serialization/LocalDataSourceProvider in your git examples.
When we run the following scenario, we get an exception (see the attached video) :
1. Run The solution.
2. Click on “Sum of quantity” to open the menu.
3. Click on “More Calculation Options...”.
4. Choose “% Of”.
5. Choose “Date-Month” as the Base field and one of the Base Items for example “June”.
6. Press Ok.
7. Click on “Save”.
8. The system crashed with the following error (attached image).
We would be happy if you would guide us on how we could overcome the problem.
I use the RadGanttView. The GanttView is quit big and it has many items. The items are deletable. So I want to delete them with the DELETE key. I tried to add the "PreviewKeyDown" event and check if the delete Key is klicked. But the event isn't thrown.
<telerik:RadGanttView x:Name="GanttDiagramm" PreviewKeyDown="GanttDiagramm_OnKeyDown">I use the Office2013 Theme.
I tried the same with a testproject. There the event is thrown sometimes. But not everytime. Quiet curios.
How can I delete a collection of items with the DEL-Key?
Hi Team,
I moved from WPF Toolkit to Telerik
But here I am facing some issues with few tools
IntegerUpDown, DecimalUpDown, DoubleUpDown, WatermarkComboBox
I am pasting my previous properties which I am looking here in Telerik
Kindly help me in this.
a) IntegerUpDown
<xctk:IntegerUpDown
MinWidth="90"
MaxWidth="{Binding ElementName=sv1,
Path=ActualWidth}"
Margin="1"
HorizontalAlignment="Stretch"
classes:DynamicContainerStyle.BaseStyle="{DynamicResource {x:Type xctk:IntegerUpDown}}"
AutomationProperties.AutomationId="ManfShelfLife"
FormatString="N0"
Increment="1"
Maximum="3650"
Minimum="0"
Visibility="{Binding RelativeSource={RelativeSource AncestorType=UserControl},
Path=DataContext.IsPerishable,
Converter={StaticResource BooleanToVisibilityConverter}}"
Value="{Binding Path=ShelfLife,
Mode=TwoWay,
ValidatesOnDataErrors=True,
UpdateSourceTrigger=PropertyChanged}">
b) DecimalUpDown
<xctk:DecimalUpDown
MaxWidth="100"
DefaultValue="0"
DisplayDefaultValueOnEmptyText="True"
Increment="0.1"
Maximum="{Binding DecimalMaxValue}"
Minimum="{Binding DecimalMinValue}"
Text="{Binding Qty,
ValidatesOnDataErrors=True,
Mode=TwoWay,
UpdateSourceTrigger=PropertyChanged}" />
c) DoubleUpDown
<xctk:DoubleUpDown
Width="{Binding RelativeSource={RelativeSource AncestorType=DataGridTemplateColumn},
Path=MaxWidth}"
HorizontalAlignment="Stretch"
Increment="0.1"
Maximum="200000"
Minimum="0"
IsEnabled="{Binding DataContext.IsMaterialInactive,
RelativeSource={RelativeSource AncestorType=UserControl},
Converter={StaticResource InverseBooleanConverter}}"
Text="{Binding RelativeSource={RelativeSource AncestorType=DataGridRow},
Path=DataContext.MinValue,
UpdateSourceTrigger=PropertyChanged,
ValidatesOnDataErrors=True,
Mode=TwoWay}" />
d) WatermarkComboBox
<xctk:WatermarkComboBox
Margin="0,15,0,0"
HorizontalAlignment="Stretch"
BorderBrush="Black"
ItemsSource="{Binding SelectedTemplate.TemplateWorkflows}"
SelectedItem="{Binding SelectedWorkflow}"
Style="{DynamicResource WatermarkComboBoxStyle}">
<xctk:WatermarkComboBox.Watermark>
<TextBlock
HorizontalAlignment="Left"
VerticalAlignment="Center"
FontSize="12"
Text="- Please Select -"
TextAlignment="Center" />
</xctk:WatermarkComboBox.Watermark>
<xctk:WatermarkComboBox.ItemTemplate>
<DataTemplate>
<ListBoxItem Content="{Binding Name}" ToolTip="{Binding Description}" />
</DataTemplate>
</xctk:WatermarkComboBox.ItemTemplate>
</xctk:WatermarkComboBox>
How to give Style in telerik, ResourceKeys are not there I am getting errors
Providing code which I want to get in Telerik
<Style x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type themes:ResourceKeys}, ResourceId=SpinnerButtonStyleKey}" TargetType="RepeatButton">
<Setter Property="Background" Value="{DynamicResource {x:Static themes:ResourceKeys.ButtonNormalBackgroundKey}}" />
<Setter Property="BorderBrush" Value="{DynamicResource {x:Static themes:ResourceKeys.ButtonNormalOuterBorderKey}}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Padding" Value="2,2" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="RepeatButton">
<Grid>
<xctk:ButtonChrome
x:Name="Chrome"
Background="Transparent"
BorderBrush="{StaticResource Black25Brush}"
CornerRadius="{DynamicResource {x:Static themes:ResourceKeys.SpinButtonCornerRadiusKey}}"
RenderEnabled="{TemplateBinding IsEnabled}"
RenderMouseOver="{TemplateBinding IsMouseOver}"
RenderNormal="True"
RenderPressed="{TemplateBinding IsPressed}"
SnapsToDevicePixels="true" />
<ContentPresenter
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
Regards,
Yogendra

Hello,
I want programmatically expand/collapse cards when the item source of the card view changed.
Can you advise me an event to do that?
regards,
Tobias
Hello.
An example of Select Single Item in Hierarchy in GridView is in SDK.
I changed the xaml property 'SelectionMode' but it didn't work.
How do I solve this?
And is it possible to change it with mvvm? I have to use other views as well.
Thanks.
Hi,
Lokking for a way to drag a shape with hollow figure.
I want to know if it is possible to redefine the drag area(center) in RadDiagramShape with a container like function.
As a sample below, Want to drag an empty area(circle center) to the hollow circle
private void InitializeShapeModels()
{
this.ShapeModels = new ObservableCollection<ShapeGalleryItemViewModel>();
this.ShapeModels.Add(new ShapeGalleryItemViewModel(){ CustomGeometry = ShapeFactory.CommonGeometries[CommonShapeType.EllipseShape]});
GeometryGroup ellipses = new GeometryGroup();
ellipses.Children.Add( new EllipseGeometry(new Point(50, 50), 50, 50));
ellipses.Children.Add( new EllipseGeometry(new Point(50, 50), 45, 45));
Geometry emptyellipses = PathGeometry.CreateFromGeometry(ellipses);
this.ShapeModels.Add(new ShapeGalleryItemViewModel() { CustomGeometry = emptyellipses });
}
Hi,
I want to know few of the properties which I was previously using in WPF Toolkit DateTimePicker and I am not able to find them in Telerik UI for WPF.
AllowSpin="False"
AllowTextInput="False"
Format="Custom"
AutoCloseCalendar="True"
FormatString="{Binding SiteShortDateTimeFormat, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay, FallbackValue='MMM-dd-yyyy HH:mm'}" IsEnabled="{Binding ExpirationEnabled}" Minimum="{Binding MinExpirationDate}" TimePickerVisibility="Collapsed"
Value="{Binding ExpirationDate, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
These all I want in telerik.
Please help me in this if possible.
Thanks,
Yogendra
Hi
Actually we are megrating to .net 5.0. So we had been using the 2019 version of Telerik and now we want to use the 2021 version of Telerik.
But we had been using the QueryableEntityCollectionView which was present into Telerik.Windows.Data dll version 2019.1.220.45, but not anymore into the version 2021.2.615.50.
Could you tell me by wich class QueryableEntityCollectionView was replaced into the new version ?
Thanks
BR
J-Christophe
Hi,
I tried to use the RadGridView with an OData Endpoint.
I took a look into the documentations but didn't find any good sample.
I tried it with the QueryableDataProvider.
But my data was not loaded. It always runs into an exception:
Constructing or initializing instances of the type DynamicClass1 with the expression (Param_0 != null) is not supported.
This Exception is thrown by the OData Client.
Below my simplified code:
View:
<Window x:Class="ODataClientTest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:oDataClientTest="clr-namespace:ODataClientTest"
xmlns:pivot="http://schemas.telerik.com/2008/xaml/presentation/pivot"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800"
d:DataContext="{d:DesignInstance oDataClientTest:MainWindowViewModel}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<pivot:RadPivotGrid Grid.Row="0" Grid.Column="0" DataProvider="{Binding ReportElements}" />
<pivot:RadPivotFieldList Grid.Row="0" Grid.Column="1" DataProvider="{Binding ReportElements}" />
</Grid>
</Window>ViewModel
using System.Diagnostics;
using Telerik.Pivot.Queryable;
namespace ODataClientTest;
public class MainWindowViewModel : BaseNotifyPropertyChanged
{
public MainWindowViewModel()
{
MyOdataContext dataContext = new();
ReportElements = new()
{
Source = dataContext.ReportElements,
DeferUpdates = true
};
ReportElements.StatusChanged += (sender, args) =>
{
if (args.Error != default)
Debugger.Break(); // Here I can see the exception
};
}
public QueryableDataProvider ReportElements
{
get => GetValue<QueryableDataProvider>();
set => SetValue(value);
}
}
My Question now: Is there any way to connect my OData Source to a PivotGrid?
Unfortunalety I could not use the LocalDataProvider, as the OData API returns a lot of data which must be filtered beforehand.
I also tried to use the normal GridView with works perfectly with the QueryableDataServiceCollectionView. But: It does not fit our needs, like Grouping, Creating dynamic aggregates (sum, average, etc.).
We are currently using .Net 4.7.2.
Many thanks!