As of 2024 Q4 (November), we will deprecate the .NET 7 distribution. This decision is rooted in our dedication to align with Microsoft’s recommended framework versions so that our products leverage the latest advancements in technology, security, and performance.
We are aligning our product with Microsoft’s lowest-supported framework versions for .NET Framework and .NET, respectively. Please refer to the following blog post: Product Update for Enhanced Performance and Security
For more information about how to upgrade your project when a new version of the Telerik UI for WPF suite is released, you can check here: Project Migration to .NET 4.6.2 and .NET 6
As of 2024 Q2, we will deprecate .NET Framework 4.0, .NET Framework 4.5, and .NET Core 3.1 distributions. This decision is rooted in our dedication to align with Microsoft’s recommended framework versions so that our products leverage the latest advancements in technology, security, and performance.
We are aligning our product with Microsoft’s lowest-supported framework versions for .NET Framework and .NET, respectively. Please refer to the following blog post:
Product Update for Enhanced Performance and Security (telerik.com)
For more information about how to upgrade your project's .NET Framework version, you can check the following MSDN article:
Migration Guide to .NET Framework 4.8, 4.7, and 4.6.2 - .NET Framework | Microsoft Learn
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.
I recently found that you cant follow shortcuts to folders in the RadSaveFileDialog. We have several end users that have created shortcuts to folders and when they try to open those folders the dialog just selects the shortcut file instead and returns.
There is an option called DereferenceLinks in the OpenFileDialog which seems to do the job but this is not available on any other dialogs.
Is there a work around for this or can that option be made available on the other dialogs too?
when the RadDiagramShape background is set to LinearGradientBrush or RadialGradientBrush ,if the GradientStop color is opacity color ,
After exporting the PDF, the transparency effect cannot be displayed,like this from SDK Sample(ExportToPDF_WPF project):
<telerik:RadDiagramShape.Background>
<RadialGradientBrush Center=" 0.5, 0.5" GradientOrigin="0.5, 0.5" RadiusX="0.5" RadiusY="0.5">
<RadialGradientBrush.GradientStops>
<GradientStop Offset="0" Color="#4DE44F0F" />
<GradientStop Offset="0.5" Color="#7E1513B9" />
<GradientStop Offset="1" Color="#960FB814" />
</RadialGradientBrush.GradientStops>
</RadialGradientBrush>
</telerik:RadDiagramShape.Background>
UI display effect:
The effect after exporting PDF:
I use the SyntaxEditor (v2024.4.1113.48, but also checked 2025.3.813.462) in WPF and want to show a completion list. As soon as I call
completionWindow.Show();
the completion window is shown for a very short amount of time in the upper left corner of the screen (not at the carret position). And after approx 200ms the exception occurs.
The function is
private void ShowCompletionWindow(RadSyntaxEditor codeEditor, string[] candidates)
{
try
{
var completionWindow = codeEditor.IntelliPrompts.CompletionListWindow;
if (completionWindow?.Presenter == null)
{
return;
}
var completionList = new CompletionInfoCollection();
foreach (var candidate in candidates)
{
completionList.Add(new CompletionInfo(candidate));
}
completionWindow.Presenter.CompletionListItems = completionList;
// Validate caret position once more before showing
if (codeEditor.CaretPosition.LineNumber >= 0 && codeEditor.CaretPosition.LineNumber < codeEditor.Document.CurrentSnapshot.LineCount)
{
completionWindow.Show();
}
}
catch (Exception innerEx)
{
_log.Error("Exception showing completion window", innerEx);
}
}
This function gets called from TextDocument.TextContentChanged event handler. This might be the reason. I want to type and want to show identifieres, that start with the string that the user started typing.
The exception
at Telerik.Windows.Controls.SyntaxEditor.UI.IntelliPromptBase.SetPosition(Point pointInScreen) at Telerik.Windows.Controls.SyntaxEditor.UI.IntelliPromptBase.SetPosition(Point pointInEditorPresenter, Point pointAboveTheCaret) at Telerik.Windows.Controls.SyntaxEditor.UI.IntelliPromptBase.SetPositionInView() at System.EventHandler.Invoke(Object sender, EventArgs e) at Telerik.Windows.Controls.SyntaxEditor.Layout.SyntaxEditorLayout.OnArrangeExecuted() at Telerik.Windows.Controls.SyntaxEditor.Layout.SyntaxEditorLayout.Arrange() at Telerik.Windows.Controls.SyntaxEditor.UI.SyntaxEditorPresenter.ArrangeOverride(Size arrangeBounds) at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect) at System.Windows.UIElement.Arrange(Rect finalRect) at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Hi,
I've been working with the RadTreeListView control. I'm very happy with it.
However, I stumbled upon a problem when trying to implement a new feature.
I want to hide the expander button of the "first layer items" (level 0). Technically, it worked by adding a trigger to the GridViewToggleButtonArrowTemplate:
<DataTrigger
Binding="{Binding RelativeSource={RelativeSource AncestorType=telerik:TreeListViewRow}, Path=Level}"
Value="0">
<Setter Property="Visibility" Value="Hidden" />
</DataTrigger>
BUT, this solution leads to a huge gap between the table border and the content of each cell in the first column.
I tried obvious things like applying paddings or margins with negative values or setting the expander button visibility to collapsed instead of hidden. But all of these approaches did not lead me to a consistent solution with a desirable UI. Either, the expander button of child items would not be visible anymore, or there would be a huge indent between level 0 and 1 items.
What I'm trying to achieve is that the expander in level 0 is kind of "wiped out" -> it shouldn't be displayed and there must be no gap. But the expanders for all child items must stay untouched. Therefore, all of the cell content in column 1 would have to be moved to the left by around 20 Px (I guess it's 20 Px, because this is the width of the GridViewToggleButton inside the TreeListViewRowTemplate).
I assume, it's a change which has to be made deeply inside the template. I just couldn't find where yet. All "obvious" approaches didn't lead me to where I wanna get.
Any help is greatly apprexciated!
Best regards,
Alex
Hello everyone,
When I C/P a document from Word to our logiciel I have this crash :
System.ArgumentNullException: La valeur ne peut pas être null. Nom du paramètre : NumStyleLink points to not existing NumberingStyle.
From my little investigations, I've see one points to StyleLink and the other NumStyleLink.
If you have any thoughts I'll be glad to here theses.
Thanks !
Olivier;