This question is locked. New answers and comments are not allowed.
Hi,
I have a problem when i m trying printing my Document in RadRichTextBox.
We have a requirement to print RADGrid data including subgrids. So we have created a RADDocument for the corresponding RadGrid and assigned it to RADRichTextBox.Document. But when we tried to execute RADRichTextBox.Print(PrintSettings) statement we are getting facing the below error:
" at Telerik.Windows.Controls.RadRichTextBox.Print(PrintSettings printSettings)
at Telerik.Windows.RadRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)
at Telerik.Windows.RouteItem.InvokeHandler(RadRoutedEventArgs routedEventArgs)
at Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)
at Telerik.Windows.EventRoute.InvokeHandlers(Object source, RadRoutedEventArgs args)
at Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)
at Telerik.Windows.DependencyObjectExtensions.RaiseEvent(DependencyObject element, RadRoutedEventArgs e)
at Telerik.Windows.Controls.RadMenuItem.OnClickImpl()
at Telerik.Windows.Controls.RadMenuItem.OnClick()
at Telerik.Windows.Controls.RadMenuItem.ClickItem()
at Telerik.Windows.Controls.RadMenuItem.HandleMouseUp()
at Telerik.Windows.Controls.RadMenuItem.OnMouseLeftButtonUp(MouseButtonEventArgs e)"
I Have checked, the document contains all sections i created and the reference to the RadRichTextBox is not null. Is there any particular settings i have to do in order to make it printing??
Thanks,
Dinesh
I have a problem when i m trying printing my Document in RadRichTextBox.
We have a requirement to print RADGrid data including subgrids. So we have created a RADDocument for the corresponding RadGrid and assigned it to RADRichTextBox.Document. But when we tried to execute RADRichTextBox.Print(PrintSettings) statement we are getting facing the below error:
" at Telerik.Windows.Controls.RadRichTextBox.Print(PrintSettings printSettings)
at Telerik.Windows.RadRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)
at Telerik.Windows.RouteItem.InvokeHandler(RadRoutedEventArgs routedEventArgs)
at Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)
at Telerik.Windows.EventRoute.InvokeHandlers(Object source, RadRoutedEventArgs args)
at Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)
at Telerik.Windows.DependencyObjectExtensions.RaiseEvent(DependencyObject element, RadRoutedEventArgs e)
at Telerik.Windows.Controls.RadMenuItem.OnClickImpl()
at Telerik.Windows.Controls.RadMenuItem.OnClick()
at Telerik.Windows.Controls.RadMenuItem.ClickItem()
at Telerik.Windows.Controls.RadMenuItem.HandleMouseUp()
at Telerik.Windows.Controls.RadMenuItem.OnMouseLeftButtonUp(MouseButtonEventArgs e)"
I Have checked, the document contains all sections i created and the reference to the RadRichTextBox is not null. Is there any particular settings i have to do in order to make it printing??
Thanks,
Dinesh