Telerik Forums
UI for WPF Forum
2 answers
62 views

Good afternoon,

As the title says, I am looking for a way to add a new pane without navigation to it / having it selected.

I've searched around google and even in the forums and documentation but I haven't found an example or answer (maybe I'm searching for the wrong terms).

Any help will be appreciated.

 

Thanks in advance,

Diogo

Diogo
Top achievements
Rank 1
 answered on 07 Dec 2015
9 answers
242 views
Hello there,

out of curiosity, is it planned to support .doc (binary 200-2003 / pre .docx) files anytime soon? Additionally, is there a list of .docx file format features that are not supported yet (or not planned at all)?

All the best,
-Jörg B.
Boby
Telerik team
 answered on 07 Dec 2015
1 answer
139 views

What is the little > on top left of the grid?

If I add group it is always at the top of the 1st group.

Can we hide it? Its confusing as if this is the current row and not the one selected.

 

Stefan Nenchev
Telerik team
 answered on 07 Dec 2015
3 answers
260 views

Our centralized logging system detected the following exception in one of our customers machines. It's not systematic or frequent: it just randomly happens on that machine: 

System.Printing.PrintQueueException: PrintTicket provider failed to merge and validate PrintTicket. Win32 error: The data is invalid.
at MS.Internal.Printing.Configuration.PTProvider.MergeAndValidatePrintTicket(MemoryStream basePrintTicket, MemoryStream deltaPrintTicket, PrintTicketScope scope, ConflictStatus& conflictStatus)
at System.Printing.PrintTicketManager.MergeAndValidatePrintTicket(PrintTicket basePrintTicket, PrintTicket deltaPrintTicket, PrintTicketScope scope)
at System.Printing.PrintQueue.MergeAndValidatePrintTicket(PrintTicket basePrintTicket, PrintTicket deltaPrintTicket)
at Telerik.Windows.Controls.Diagrams.Extensions.PrintSettingsViewModel.MergeAndValidatePrintTicket(PrintTicket originalTicket, PrintTicket modificationTicket)
at Telerik.Windows.Controls.Diagrams.Extensions.RadDiagramPrintPreview.DoPrint(String title)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
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)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
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).

 

And here is the code causing the issue:

var printPreviewWindow = new Telerik.Windows.Controls.RadWindow();
var printPreview = new RadDiagramPrintPreview { Diagram = selectedDiagram.diagram };
printPreviewWindow.Content = printPreview;
printPreviewWindow.ResizeMode = ResizeMode.NoResize;
printPreviewWindow.WindowStartupLocation = WindowStartupLocation.CenterOwner;
printPreviewWindow.Width = 800;
printPreviewWindow.Height = 600;
printPreviewWindow.Owner = _owner;
printPreviewWindow.ShowDialog();

 

They are on a quite old version of our product using Telerik 2014.3.1021.40 (.NET 4.0 and Microsoft Windows NT 6.2.9200.0 64 bit).

Our latest version includes Telerik 2015.3.930.40: as far as you guys know, the new version solves that issue?

 

Thank you,

Regards,

 

Manuel

 

Petar Mladenov
Telerik team
 answered on 07 Dec 2015
1 answer
157 views

Hi @all,

Im new to Telerik and currenty trying to implement some Telerik Controls (Trial) to an existing Solution.

Two Projects in the solution are WPF Control Libraries.

After installing Telerik for WPF and changing the standard Windows controls to Telerik controls, everything worked as expected.

For Deployment we need to place our references to a different FilePath (Not the Telerik Installation Path).

But after copying the dll-Files to this path and re-reference them from the new path into the solution, no Telerik-Controls are visible

on the UI anymore. The remaining Standard-Windows-Controls (which we have not switches to Telerik yet) are still visible.

Are there best practices to reference the Telerik-Binaries without installing the Telerik-Setup for WPF Controls?

Any suggestions on this?

Thanks in advance

Andreas Geier

Nasko
Telerik team
 answered on 07 Dec 2015
1 answer
1.1K+ views

Hello,

 We are using  RichTextBox control for Mail merge functionality to implement in our system. Our requirement is to complete the mail merge and print the entire document.

When the print is completed, we would like to know that the printing job is completed successfully for all pages to perform some insert/update operations in the database. We are using the following code to check the printing job is success, but we are not getting the PrintJobInfoCollection results.

 RadDocument _MergedDocument = this.radRichTextBox.MailMerge();
                if (_MergedDocument != null)
                {
                    this.radRichTextBox.Document = _MergedDocument;

                    PrintSettings _PrintSettings = new PrintSettings()
                    {
                        DocumentName = "My document",
                        PrintMode = PrintMode.Native,
                        PrintScaling = PrintScaling.None                        
                    };

                    PrintDialog _PrintDialog = new PrintDialog();
                    _PrintDialog.PageRangeSelection = PageRangeSelection.AllPages;
                    _PrintDialog.UserPageRangeEnabled = true;
                    Nullable<Boolean> print = _PrintDialog.ShowDialog();
                    if (print == true)
                    {                        
                        this.radRichTextBox.Print(_PrintDialog, _PrintSettings);                        
                        PrintJobInfoCollection jobs = _PrintDialog.PrintQueue.GetPrintJobInfoCollection();
                        foreach (PrintSystemJobInfo theJob in jobs)
                        {
                            if (((theJob.JobStatus & PrintJobStatus.Completed) == PrintJobStatus.Completed) || ((theJob.JobStatus & PrintJobStatus.Printed) == PrintJobStatus.Printed))
                            {
                                MessageBox.Show("completed");
                            }
                        }
                    }                    
                }

 

Thanks

 

 

Tanya
Telerik team
 answered on 04 Dec 2015
1 answer
169 views

I use BingMapProvider with IsTileCachingEnabled set to true, and I notice memory leak because of the cache even though I call the Dispose() function for the provider class.

Currently I have a workaround by deriving a CustomBingMapProvider from BingMapProvider to expose the MapSources to public. When disposing, I set all the CacheStorage of the MapSources to null. This workaround works for me.

 Do you have any idea or any solution to dispose the cache properly?

Petar Mladenov
Telerik team
 answered on 04 Dec 2015
1 answer
117 views

Hello,

When we create a mail merge file and click on preview results, the formatting of the document becomes improper as shown in 'MailMerge2'.

 As you can see in 'MailMerge1', we are able to see the proper formatting when we click Show Field Names. 

 However Ms Word Mail merge feature works properly in the same scenario.

Thanks
Todor
Telerik team
 answered on 04 Dec 2015
5 answers
804 views
Hello,

I have a RadChartView Pie Chart where I bound to a collection of objects. My issue is with the spacing on the data point labels. See the attached image for an example. Is there any properties that can override the label location like Excel can do?

Here is my chart definition:

<telerik:RadPieChart x:Name="SalesByFamilyChart" Palette="Windows8" Grid.Row="1">
    <telerik:PieSeries ShowLabels="True" ItemsSource="{Binding SalesByFamilyPieData}" ValueBinding="Amount" RadiusFactor="0.8">
        <telerik:PieSeries.LabelDefinitions>
            <telerik:ChartSeriesLabelDefinition Margin="-4,0,0,0">
                <telerik:ChartSeriesLabelDefinition.Template>
                    <DataTemplate>
                        <StackPanel>
                            <TextBlock Text="{Binding DataItem.Title}" Foreground="Black" FontSize="14"/>
                            <TextBlock Text="{Binding DataItem.Amount, StringFormat=' {0:C0}'}" Foreground="Black" FontSize="12"/>
                        </StackPanel>
                    </DataTemplate>
                </telerik:ChartSeriesLabelDefinition.Template>
            </telerik:ChartSeriesLabelDefinition>
        </telerik:PieSeries.LabelDefinitions>
    </telerik:PieSeries>
</telerik:RadPieChart>


Thanks,

Johnny
sai
Top achievements
Rank 1
 answered on 04 Dec 2015
4 answers
178 views

Hi,

I am new to telerik controls. Can someone help to achieve this.

I have multiple collections of data with key and value pair. I need to draw a gadget/ DoughnutSeries  series chart to show the actual vs target percentage.

For example, to show number of accidents happened with in and out of the city I need to show two series separately. Can we achieve this using chartseriesprovider? otherwise we need to add each series manually? If we get any reference with example would be great. Kindly find the attached image for reference.

 

Thanks in Advance,

Arun

 


 
Arun
Top achievements
Rank 1
 answered on 03 Dec 2015
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?