
Goodmornig
Is it possible to set the WPF RadGridView FilteringMode="FilterRow" so that the search updates in real time as you type the text, like it was in winform?
And also that it uses the "contains" mode by default without having to select it from the menu every time, like it was in winform?
Thanks
Hi,
Is this large number of PriorityItem<DispatcherOperatio> which is more than 373K normal in RadGridView? Why is this happening? Is there anyway to stop the propertyChangedCheckerTimer created by default in RadgridView?
Version: 2017.2.503.45
What does this mean? I think it means I'm not logging in for builds, but I put in the right username\pwd. Why is this showing up?

I don't want to have individual y-axes for my series but rather show max/min on a common axis.
Where the max for the individual series are stacked one below the other from the top and the min are stacked from the bottom.
The number of series is dynamically created from code. It can be one to multiple series.
I can't find any example of this.
Hi,
is it possible to set the search field below the columns in the WPF grid like it was in the WinForm grid? Without clicking the filter button?
Tanks

Had migrated from .Net Framework to .Net8 and of course updated Telerik references, and I'm facing this problem rendering the chart.
using Telerik.Windows.Controls.ChartView;
using Telerik.Windows.Controls.Legend;
namespace Manager
{
public partial class CustomChartControl : UserControl, INotifyPropertyChanged
{
private const int YAXIS_STEP_NUMBER = 8;
private ChartSerieCollectionVM _viewModel;
private string _title;
public LinearAxis LeftAxis { get { return chart.Resources["leftAxis"] as LinearAxis; } }
public LinearAxis LeftCAxis { get { return chart.Resources["leftAxisC"] as LinearAxis; } }
public LinearAxis RightAxis { get { return chart.Resources["rightAxis"] as LinearAxis; } }
public LinearAxis RightCAxis { get { return chart.Resources["rightAxisC"] as LinearAxis; } }
public string Title
{
get { return _title; }
set
{
_title = value;
OnPropertyChanged("Title");
}
}
public DateTime ActualMaxDateTime { get; private set; }
public DateTime ActualMinDateTime { get; private set; }
public CustomChartControl()
{
InitializeComponent();
}
public void SetDataContext(ChartSerieCollectionVM series)
{
foreach (var serie in series.Series)
{
AsignSerieAxis(serie);
}
_viewModel = series;
DataContext = _viewModel;
}
private void AsignSerieAxis(ChartSerieVM serie)
{
if (serie.HorizontalAlignment == Telerik.Charting.AxisHorizontalLocation.Left)
{
if (serie.IsC)
{
serie.Axis = this.LeftCAxis;
}
else
{
serie.Axis = this.LeftAxis;
}
}
else
{
if (serie.IsC)
{
serie.Axis = this.RightCAxis;
}
else
{
serie.Axis = this.RightAxis;
}
}
}
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void OnPropertyChanged(string propertyName)
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
}
}
<telerik:RadCartesianChart x:Name="chart" Grid.Row="2">
<telerik:RadCartesianChart.Resources>
<telerik:LinearAxis
x:Key="leftAxisC"
Margin="0,0,0,0"
HorizontalLocation="Left"
IsInverse="True"
LineStroke="{DynamicResource Gray4}"
Maximum="1.1"
Minimum="0.9"
RangeExtendDirection="Both"
TickThickness="0">
<telerik:LinearAxis.LabelTemplate>
<DataTemplate>
<TextBlock
x:Name="AxisLabel"
HorizontalAlignment="Right"
FontFamily="Segoe UI"
FontSize="12"
Foreground="{DynamicResource Gray4}"
Text="{Binding ., Converter={StaticResource CValueConverter}}" />
</DataTemplate>
</telerik:LinearAxis.LabelTemplate>
</telerik:LinearAxis>
<telerik:LinearAxis
x:Key="leftAxis"
Margin="0,0,0,0"
HorizontalLocation="Left"
LineStroke="{DynamicResource Gray4}"
RangeExtendDirection="Both"
TickThickness="0">
<telerik:LinearAxis.LabelTemplate>
<DataTemplate>
<TextBlock
x:Name="AxisLabel"
HorizontalAlignment="Right"
FontFamily="Segoe UI"
FontSize="12"
Foreground="{DynamicResource Gray4}"
Text="{Binding .}" />
</DataTemplate>
</telerik:LinearAxis.LabelTemplate>
</telerik:LinearAxis>
<telerik:LinearAxis
x:Key="rightAxisC"
Margin="0,0,0,0"
HorizontalLocation="Right"
IsInverse="True"
LineStroke="{DynamicResource Gray4}"
Maximum="1.1"
Minimum="0.9"
TickThickness="0">
<telerik:LinearAxis.LabelTemplate>
<DataTemplate>
<TextBlock
x:Name="AxisLabel"
HorizontalAlignment="Right"
FontFamily="Segoe UI"
FontSize="12"
Foreground="{DynamicResource Gray4}"
Text="{Binding ., Converter={StaticResource CValueConverter}}" />
</DataTemplate>
</telerik:LinearAxis.LabelTemplate>
</telerik:LinearAxis>
<telerik:LinearAxis
x:Key="rightAxis"
Margin="0,0,0,0"
HorizontalLocation="Right"
LineStroke="{DynamicResource Gray4}"
RangeExtendDirection="Both"
TickThickness="0">
<telerik:LinearAxis.LabelTemplate>
<DataTemplate>
<TextBlock
x:Name="AxisLabel"
HorizontalAlignment="Right"
FontFamily="Segoe UI"
FontSize="12"
Foreground="{DynamicResource Gray4}"
Text="{Binding ., Converter={StaticResource RightAxisValueConverter}}" />
</DataTemplate>
</telerik:LinearAxis.LabelTemplate>
</telerik:LinearAxis>
</telerik:RadCartesianChart.Resources>
<!-- HORIZONTAL AXIS -->
<telerik:RadCartesianChart.HorizontalAxis>
<telerik:DateTimeContinuousAxis
ActualRangeChanged="DateTimeContinuousAxis_ActualRangeChanged"
Name="BottomAxis"
LabelFitMode="Rotate"
LabelFormat="HH:mm:ss"
LineThickness="1"
Maximum="{Binding MaxVisible, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
Minimum="{Binding MinVisible, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
PlotMode="OnTicks" />
</telerik:RadCartesianChart.HorizontalAxis>
<!-- SERIES PROVIDER -->
<telerik:RadCartesianChart.SeriesProvider>
<telerik:ChartSeriesProvider Source="{Binding VisibleSeries}">
<telerik:ChartSeriesProvider.SeriesDescriptors>
<telerik:CategoricalSeriesDescriptor
CategoryPath="Date"
ItemsSourcePath="ItemsInView"
ValuePath="YVal">
<!-- Fill="{Binding Series.Stroke}" -->
<telerik:CategoricalSeriesDescriptor.Style>
<Style TargetType="telerik:LineSeries">
<Setter Property="Stroke" Value="{Binding SerieColor}" />
<Setter Property="StrokeThickness" Value="1" />
<Setter Property="LegendSettings">
<Setter.Value>
<telerik:SeriesLegendSettings Title="{Binding Title}" />
</Setter.Value>
</Setter>
<Setter Property="VerticalAxis" Value="{Binding Axis}" />
<Setter Property="TrackBallTemplate">
<Setter.Value>
<DataTemplate>
<Rectangle
Width="7"
Height="7"
Fill="{Binding Series.Stroke}"
RenderTransformOrigin="0.5,0.5">
<Rectangle.ToolTip>
<ToolTip>
<StackPanel Orientation="Vertical">
<TextBlock x:Name="lbPointValue" Text="{Binding Path=DataPoint.Value}" />
<TextBlock Text="{Binding Path=DataPoint.Category, StringFormat=HH:mm:ss}" />
</StackPanel>
</ToolTip>
</Rectangle.ToolTip>
</Rectangle>
<DataTemplate.Triggers>
<DataTrigger Binding="{Binding Series, Converter={StaticResource DataPointSerieIsCConverter}}" Value="True">
</DataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
</Setter.Value>
</Setter>
</Style>
</telerik:CategoricalSeriesDescriptor.Style>
</telerik:CategoricalSeriesDescriptor>
</telerik:ChartSeriesProvider.SeriesDescriptors>
</telerik:ChartSeriesProvider>
</telerik:RadCartesianChart.SeriesProvider>
<!-- GRID -->
<telerik:RadCartesianChart.Grid>
<telerik:CartesianChartGrid MajorLinesVisibility="Y" />
</telerik:RadCartesianChart.Grid>
<telerik:RadCartesianChart.SmartLabelsStrategy>
<telerik:ChartSmartLabelsStrategy />
</telerik:RadCartesianChart.SmartLabelsStrategy>
</telerik:RadCartesianChart>
This CustomChart is declared from other view as:
<TabItem x:Name="TabTotal" Header="Total">
<this:CustomChartControl x:Name="TelerikPowerChart" />
</TabItem>
TelerikPowerChart.Title = "Total Active Power";
TelerikPowerChart.SetDataContext(_viewModel.ActiveModel.PowerSerieCollection
<telerik:RadWindow x:Class="Vue.MainWindow" x:Name="mainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"><Grid x:Name="mainGrid"> <telerik:RadTreeView x:Name="radTreeView" Grid.Row="1" ItemsSource="{Binding TypeDatabases}" <telerik:RadTreeView.Resources> <HierarchicalDataTemplate DataType="{x:Type Modele:EntiteDatabase}" ItemsSource="{Binding Tables}"> <StackPanel Orientation="Horizontal" Height="25"> <Image Source="{Binding SourceIcone}" Stretch="Fill" Height="16"/> <TextBlock Text="{Binding Description}" TextAlignment="Left" VerticalAlignment="Center" /> <telerik:RadContextMenu.ContextMenu> <telerik:RadContextMenu InheritDataContext="False" DataContext="{Binding DataContext, ElementName=mainWindow}"> <telerik:RadMenuItem Header="Connexion" Command="{Binding OpenDatabase}" /> <telerik:RadMenuItem Header="Déconnexion" Command="{Binding CloseDatabase}" /> </telerik:RadContextMenu> </telerik:RadContextMenu.ContextMenu> </StackPanel> </HierarchicalDataTemplate> </telerik:RadTreeView.Resources> </telerik:RadTreeView></Grid></telerik:RadWindow>We have an application that modifies Word documents using a template system. In our Word template, we use placeholders like #NOTES# to mark where dynamic content should be inserted.
In our app, we define the content for #NOTES# using a RichTextBox, which allows formatting such as bold, italic, and underline. When we replace the placeholder using:
editor.ReplaceText("#NOTES#", importedSections);…the basic formatting is preserved correctly in the final Word document.
However, when we apply a style like Heading1 to the text in the RichTextBox, that style is not carried over to the final Word output. We are using the following code to handle the import:
var importer = new DocumentElementImporter(document, flowDocument, ConflictingStylesResolutionMode.UseTargetStyle);
Despite this, the style (e.g., Heading1) is not applied in the resulting document. Is there something we’re missing to ensure that styles like Heading1 are preserved during the import?
Any help or guidance would be greatly appreciated!
Thanks in advance.