This question is locked. New answers and comments are not allowed.
I get the following when I try to print using a RadRichTextBox control using XAML format with a Header section.
The app is using Silverlight 5 and Telerik 2011.3.1406.1050 version.
In the app we using the ReadOnlyEditor as a Print Preview before the actual printing. The XAML fed to this control is generated by another screen with a RadRichTextBox.
The is error raised only if there is a Header section and the whole screen turns white. There is no error if there is no Header.
I have a sample project which can reproduce this error. Is there a way I can upload a rar file?
Also issue I have heard from my testers that sometime with editing the header section like adding/removing image it raises a Silverlight error. Though I am not able to reproduction it but thought it could be related to the first issue.
Please let me know if there is any particular setting that I am missing.
Thank you,
Raaj
Microsoft JScript runtime error: Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.NullReferenceException: Object reference not set to an instance of an object.
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
at MS.Internal.XcpImports.UIElement_UpdateLayout(UIElement element)
at Telerik.Windows.Documents.UI.DocumentPrintPresenter.UpdateEditorLayout()
at Telerik.Windows.Documents.UI.DocumentPrintPresenter.pd_PrintPage(Object sender, PrintPageEventArgs e)
at System.Windows.Printing.PrintDocument.OnPrintPage(Object sender, PrintPageEventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
The app is using Silverlight 5 and Telerik 2011.3.1406.1050 version.
In the app we using the ReadOnlyEditor as a Print Preview before the actual printing. The XAML fed to this control is generated by another screen with a RadRichTextBox.
The is error raised only if there is a Header section and the whole screen turns white. There is no error if there is no Header.
I have a sample project which can reproduce this error. Is there a way I can upload a rar file?
Also issue I have heard from my testers that sometime with editing the header section like adding/removing image it raises a Silverlight error. Though I am not able to reproduction it but thought it could be related to the first issue.
Please let me know if there is any particular setting that I am missing.
Thank you,
Raaj
Microsoft JScript runtime error: Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.NullReferenceException: Object reference not set to an instance of an object.
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
at MS.Internal.XcpImports.UIElement_UpdateLayout(UIElement element)
at Telerik.Windows.Documents.UI.DocumentPrintPresenter.UpdateEditorLayout()
at Telerik.Windows.Documents.UI.DocumentPrintPresenter.pd_PrintPage(Object sender, PrintPageEventArgs e)
at System.Windows.Printing.PrintDocument.OnPrintPage(Object sender, PrintPageEventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)