In Development
Last Updated: 22 May 2019 08:36 by ADMIN
If a document contains many and complex formulas (with many functions having other functions as arguments) it may take a long time to show in the control.
In Development
Last Updated: 21 May 2019 10:34 by ADMIN
A possible solution could be to expose a HostCreated event so we can get the Window and set its AllowTransparency and WindowStyle property.
In Development
Last Updated: 21 May 2019 10:26 by ADMIN
When the IsHidden property of a RadPane within a ToolWindow is set to True and then to false in quick succession, the ToolWindow is not shown. 

As a workaround, you can disable the animation of the ToolWindow:
<Style TargetType="telerik:ToolWindow">
<Setter Property="telerik:AnimationManager.IsAnimationEnabled" Value="False" />
</Style>

The above style need to be placed in the resources of the App.xaml in order to take effect on the ToolWindows, since they are displayed in a separated visual tree.
In Development
Last Updated: 15 May 2019 13:32 by ADMIN
When the attribute is defined but no value is set to it, the format provider cannot import the content and throws NullReferenceException.
In Development
Last Updated: 13 May 2019 07:23 by ADMIN
When the FixedDocumentSinglePagePresenter content control is used to visualize PDF files in custom PDF viewer implementation a raise condition can be occurred leading to NullReferenceException with the following stack trace:
at Telerik.Windows.Documents.Fixed.UI.UIElementsHelper.FillPageContentElementsInPanel(Canvas container, RadFixedPage page)
at Telerik.Windows.Documents.UI.FixedDocumentSinglePagePresenter.CreateContent(RadFixedPage page)
at Telerik.Windows.Documents.UI.FixedDocumentSinglePagePresenter.PageLoader_WorkCompleted(Object sender, WorkCompletedEventArgs e)
at Telerik.Windows.Documents.Utilities.ResourceLoader.OnWorkCompleted(WorkCompletedEventArgs args)
at Telerik.Windows.Documents.Utilities.ResourceLoader.Worker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
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)

The exception is thrown since the current page is unloaded while the content is being parsed.
In Development
Last Updated: 11 Mar 2019 09:22 by ADMIN
We provide such properties in our Green theme and they make customizing the read only states of all controls easier.
Currently the read only state looks like disabled and there is no easy way to change it. 
In Development
Last Updated: 08 Mar 2019 12:39 by ADMIN
"Win32Exception (0x80004005): Not enough storage is available to process this command" is thrown when multiple RadDocument instances are created in background threads. 

This is due to the fact that RadDocument contains MailMergeDataSource object, which is DependencyObject. When multiple dependency objects are created in different threads, they are not property freed by thread's Dispatcher.

Workaround 1: Microsoft provided workaround in a bug report here:
https://connect.microsoft.com/VisualStudio/feedback/details/620588/system-componentmodel-win32exception-0x80004005-not-enough-storage-is-available-to-process-this-command , namely:
------------------------------
Put the following code:

Dispatcher dispatcher = Dispatcher.CurrentDispatcher;
dispatcher.BeginInvokeShutdown(DispatcherPriority.Normal);
Dispatcher.Run();

anywhere in the background thread processing the RadDocument.
-----------------------------

Workaround 2: Use pooling of the used threads. The problem is that Task Parallel Library (which has built-in pooling) does not use STA threads by default, but this can be achieved by using custom TaskScheduler (attached, the code is get from here: https://code.msdn.microsoft.com/ParExtSamples ):

            var parallelOptions = new ParallelOptions()
            {
                TaskScheduler = new StaTaskScheduler(Environment.ProcessorCount)
            };

            Parallel.For(0, 10000, parallelOptions, cc =>
            {
                    var document = new DocxFormatProvider().Import(data);
                    byte[] pdfBytes = new PdfFormatProvider().Export(document);

            };