In Development
Last Updated: 08 Apr 2024 08:04 by ADMIN
The images are loaded asynchronously and when scrolling too fast, the loader might fail to load an image if it is bigger.
In Development
Last Updated: 08 Apr 2024 06:54 by ADMIN
Created by: Philipp
Comments: 3
Category: PDFViewer
Type: Bug Report
2

When using SaveAsCommandDescriptor of RadPdfViewer and trying to replace a pdf file that is currently open in adobe reader causes the following exception:

 

System.IO.IOException: The process can not access file "C:\Temp\test.pdf" because it used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   at Microsoft.Win32.SaveFileDialog.OpenFile()
   at Telerik.Windows.Documents.Commands.SaveAsPdfDocumentCommand.Execute(Object parameter)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at Telerik.Windows.Controls.RadButton.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   [...]
In Development
Last Updated: 08 Apr 2024 07:09 by ADMIN
When the font is not embedded in the document, PdfViewer tries to read it from the OS. However, the Calibri-Font is not properly parsed and a NullReferenceException is thrown internally for its encoding. 
In Development
Last Updated: 08 Apr 2024 08:08 by ADMIN
The read-only flag is not respected when importing a document
In Development
Last Updated: 05 Apr 2024 17:05 by ADMIN
The measuring logic of the groups in RadTileList was changed because of a new feature which brings issues with some layouts defined in the GroupTemplate. For example, if you have a TextBlock in the GroupTemplate, and set its HorizontalAlignment to Center, the TextBlock will be positioned around the center of the RadTileList control, instead of the group's center. Also, in this case the TextBlock disappears. 
In Development
Last Updated: 09 Apr 2024 08:50 by ADMIN

HtmlFormatProvider: Exception when importing a table that has only width set.  In this case, we are trying to measure some elements with float.NaN. 

Workaround: Use the HtmlFormatProvider from the Document Processing library. 

 
In Development
Last Updated: 02 Apr 2024 15:06 by ADMIN
In Development
Last Updated: 14 Mar 2024 09:08 by ADMIN

When the SelectionMode of RadAutoCompleteBox is changed, the search text is cleared. However, this clears only the Text property of the underlying TextBox element. The SearchText property of the control is not cleared.

To work this around, you can manually set the SearchText after setting the SelectionMode.
this.autoCompleteBox.SelectionMode = AutoCompleteSelectionMode.Multiple;
this.autoCompleteBox.SearchText = null;

In Development
Last Updated: 09 Apr 2024 07:00 by ADMIN
Typing and then deleting all in fast succession sometimes fails while using Microsoft Japanese IME.
In Development
Last Updated: 15 Apr 2024 09:33 by ADMIN

The fly view is not properly displayed when the second item is clicked and the sub-items are expanded (see attached video). 

Attached is a project with a workaround as well. 

In Development
Last Updated: 01 Apr 2024 13:10 by ADMIN
The CLR property is named IsDropDownOpen, but the DependencyProperty has a type and it is named IsDownOpen. This works at runtime, but it brings an error at design-time.

The error says: "The property "IsDropDownOpen" is not a DependencyProperty. (some additional description here)"
In Development
Last Updated: 01 Apr 2024 13:38 by ADMIN

NullReferenceException is thrown when the "var" CSS function is used in the HTML on HtmlFormatProvider Import method call. 

The exception occurs only for CSS properties processed by RadRichTextBox. For example: "vertical-align", "font-family", "font-weight", "text-decoration-underline", etc.

The following HTML produces such error:

<span style="vertical-align: var(--my-variable);">

</span>

If the span tag doesn't have any content, the error doesn't occur.

The exception stacktrace is:

at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.FillSpanProperties(SpanProperties spanProps, EvaluateProperty evalFunction, IEnumerable`1 disregarderdDefaultStyleBagPropertiesCollection)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.CreateSpanFromTextNode(INode childNode, Paragraph paragraph, IEnumerable`1 disregarderdDefaultStyleBagPropertiesCollection)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessContentNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass80_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessGenericNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass80_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessGenericNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass80_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessGenericNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass80_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessHyperlinkNode(INode node, Action innerAction)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessAnnotationsForNode(INode node, Action innerAction)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessGenericNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.<>c__DisplayClass80_0.<ProcessNode>b__0()
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.ProcessNode(INode node)
   at Telerik.Windows.Documents.FormatProviders.Html.Import.HtmlDocumentImporter.Import(Stream input)

To work this around, avoid  using the "var" function in the CSS.

In Development
Last Updated: 11 Apr 2024 11:38 by ADMIN

When you inherit BingRestMapProvider and BingRestTileMapSource, following the custom map provider approach
https://docs.telerik.com/devtools/wpf/controls/radmap/how-to/howto-custom-provider

the map does not display any tiles. This is due to internal property TopLayer not set correctly to the TileMapSource class.