HTML import fails when an image has an align tag set to a value different from center
<img align="top"
width="170" height="61" />
Implement functionality to rotate the text in a cell.
In RadGanttView, the drag reorder visual element position indicators ('Before', 'After', and 'Inside') are not translated according to the application's UI culture settings (e.g., German), remaining displayed in English because they are hardcoded in the element's template.
To work this around, create a custom DragReorderTemplate and apply it via the CueTemplateSelector of GanttDragResizeVisualCue. This can be applied via an implicit style defined in App.xaml.
<Style TargetType="telerik:GanttDragResizeVisualCue">
<Setter Property="CueTemplateSelector">
<Setter.Value>
<telerik:GanttDragVisualCueContentTemplateSelector DragTemplate="{StaticResource GanttDragResizeVisualCueTemplate}"
ResizeTemplate="{StaticResource GanttDragResizeVisualCueTemplate}"
CreateDependencyTemplate="{StaticResource GanttCreateDependencyTemplate}"
DragReorderTemplate="{StaticResource CustomGanttDragReorderTemplate}" />
</Setter.Value>
</Setter>
</Style>
The committed RadSpreadsheetRibbon_style.xaml renders the AI group unconditionally:
<telerikRibbon:RadRibbonGroup Header="AI">
Workaround:
private void HideAIButton()
{
var aiButton = this.spreadsheetRibbon
.ChildrenOfType<RadRibbonButton>()
.FirstOrDefault(b => b.Text == "AI Tools");
if (aiButton == null)
{
return;
}
var aiGroup = aiButton.ParentOfType<RadRibbonGroup>();
if (aiGroup != null)
{
aiGroup.Visibility = Visibility.Collapsed;
}
else
{
aiButton.Visibility = Visibility.Collapsed;
}
}
Loading/editing document with large lists (with 1561 or more items) throws IndexOutOfRangeException when incorrectly tries to convert numbering to letters. Workaround: Change list type to one which does not include letter NumberingFormat in any of its levels, for example Numbered Hierarchical or custom one.
ArgumentException: WebView2 was already initialized with a different CoreWebView2Environment. Check to see if the Source property was already set or EnsureCoreWebView2Async was previously called with different values.
at Microsoft.Web.WebView2.Wpf.WebView2Base.EnsureCoreWebView2Async(CoreWebView2Environment environment, CoreWebView2ControllerOptions controllerOptions)
Steps to reproduce:
1. Open Word 2016 or later. Create a new blank document. Type any text. **File → Save As** → `original.docx`.If header/footer containing annotations is set to a document using RadDocumentEditor.ChangeSectionHeader or ChangeSectionFooter methods, the annotations in the body of the header/footer are not paired in the resulting document.
When such document is exported to XAML, NullReferenceException is thrown in the ReindexAnnotationMarkers internal method.
Workaround:
- Do not use RadDocumentEditor to set the footer:
//editor.ChangeSectionFooter(radDocument.Sections.First, HeaderFooterType.Default, new Footer { Body = footerRadDocument });
radDocument.Sections.First.Footers.Default.Body = footerRadDocument;
- Manually "fix" the cloned footer body before the export:
((ISupportInitialize)radDocument.Sections.First.Footers.Default.Body).EndInit();
The settings of the empty paragraphs in the document fallback to the default document settings (Verdana). The EnumerateChilderOfType() method can be used to traverse all the paragraphs in the document and apply them the same font family as a workaround.
The style of the table fallbacks to the default one and when the content of a cell is deleted, the current font family and font size are changed. The scenario is working as expected in versions before R3 2016.
When an RTF document contains table inside table in the header or in the footer, the document cannot be imported due to NullReferenceException. In the case of RadRichTextBox the exception is handled, but it's not when RtfFormatProvider is used directly. The bug is regression in 2016 R3.
When the users move the image (evaluated as a result of the field) using the document selection, the field is removed from the document and the image is duplicated.
In RadGridView, column header cells and their filter buttons are not exposed to UI Automation (UIA) clients.
Workaround: Subclass DataCellsPresenter, override OnCreateAutomationPeer() to return a custom peer that walks the visual tree for GridViewHeaderCell children and exposes their real peers. This subclass must be wired in via a retemplated GridViewHeaderRow (swap the DataCellsPresenter template part).
public class FixedDataCellsPresenterAutomationPeer : FrameworkElementAutomationPeer
{
public FixedDataCellsPresenterAutomationPeer(FixedDataCellsPresenter owner)
: base(owner)
{
}
protected override List<AutomationPeer> GetChildrenCore()
{
var children = new List<AutomationPeer>();
CollectHeaderCellPeers(this.Owner, children);
return children;
}
protected override AutomationControlType GetAutomationControlTypeCore()
{
return AutomationControlType.Header;
}
private static void CollectHeaderCellPeers(DependencyObject parent, List<AutomationPeer> result)
{
int count = VisualTreeHelper.GetChildrenCount(parent);
for (int i = 0; i < count; i++)
{
var child = VisualTreeHelper.GetChild(parent, i);
if (child is GridViewHeaderCell headerCell)
{
var peer = UIElementAutomationPeer.CreatePeerForElement(headerCell);
if (peer != null)
{
result.Add(peer);
}
}
else
{
CollectHeaderCellPeers(child, result);
}
}
}
}
public class FixedDataCellsPresenter : DataCellsPresenter
{
protected override AutomationPeer OnCreateAutomationPeer()
{
return new FixedDataCellsPresenterAutomationPeer(this);
}
}
<Window.Resources>
<ControlTemplate x:Key="FixedGridViewHeaderRowTemplate" TargetType="grid:GridViewHeaderRow">
<!-- other elements -->
<local:FixedDataCellsPresenter x:Name="PART_DataCellsPresenter"
AutomationProperties.Name="Header Cells Presenter"
Grid.Row="1"
Grid.Column="3" />
<!-- other elements -->
</ControlTemplate>
<Style TargetType="grid:GridViewHeaderRow">
<Setter Property="Template" Value="{StaticResource FixedGridViewHeaderRowTemplate}" />
</Style>
</Window.Resources>
TooltipContentTemplate does not apply on Windows11/Windows Server 2025