Telerik Forums
UI for WPF Forum
8 answers
476 views
Create a new WPF project, add a RadDocking to the page, then add a DocumentHost to the RadDocking, like so:

<telerik:RadDocking HasDocumentHost="True">
    <telerik:RadDocking.DocumentHost>
        <telerik:RadSplitContainer>
            <telerik:RadPaneGroup>
                <telerik:RadDocumentPane Header="Document 1" Title="Document 1" />
            </telerik:RadPaneGroup>
        </telerik:RadSplitContainer>
    </telerik:RadDocking.DocumentHost>
</telerik:RadDocking>

Run the app in debug mode and you'll get the following error in the VIsual Studio output window:

System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=DropDownButtonElement'. BindingExpression:Path=IsChecked; DataItem=null; target element is 'DropDownMenu' (Name='DropDownMenuElement'); target property is 'IsOpen' (type 'Boolean')

Using version 2011.1.419.40. Noticed that there was a similar problem with the RadTabControl (see http://www.telerik.com/community/forums/wpf/tabcontrol/strange-error-message-in-debug-view.aspx). Can't reproduct the same error with RadTabControl. Suspect this is a similar issue. Doesn't cause any problems but would be nice to remove the error.

Can can anyone else confirm this?
Zalan
Top achievements
Rank 1
Iron
 answered on 18 Feb 2026
0 answers
54 views

Hi Team,

We are encountering an intermittent IndexOutOfRangeException when calling XamlFormatProvider.Export() on a RadDocument.

Exception stack:

System.IndexOutOfRangeException at System.Collections.Generic.Dictionary`2.Insert at Telerik.Windows.Documents.FormatProviders.Xaml.XamlWriter.TryGetTypeConverter at Telerik.Windows.Documents.FormatProviders.Xaml.XamlFormatProvider.Export(RadDocument)

Code:

private string ReadDocumentText(RadDocument document) { if (document == null) return string.Empty; return new XamlFormatProvider().Export(document); }

Notes:

  • document is not null

  • Each document is different

  • Same code works for most documents

  • The exception occurs inside Telerik export logic

  • Documents are exported concurrently (parallel processing)

  • No custom type converters or custom styles added explicitly

Questions:

  • Is XamlFormatProvider.Export() thread-safe when used concurrently?

  • Can concurrent exports cause internal state corruption (e.g. type converter dictionary)?

  • Is there a recommended approach for exporting RadDocument in parallel (e.g. synchronization or per-thread isolation)?

Any guidance would be appreciated.

Thanks.
Zafeer

Zafeer
Top achievements
Rank 1
 asked on 10 Feb 2026
0 answers
43 views

Hi ,

We have integrated RadRichTextBox into our WPF (C#) application and are trying to add RadCallout as a custom context menu. since the control is being created entirely in code-behind without XAML ,we are encountering implementation challenges.

Our expectation is that when a user selects text and right-clicks to choose the RadCallout option, the selected text should appear inside the callout type.

Could you please guide us on how to achieve this?

John
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 05 Feb 2026
1 answer
103 views

Hello,

I have attempted to implement the solutions listed here.

We are using various ColorVariations along with our themes, however. For example:

StyleManager.ApplicationTheme = new Windows11Theme(Windows11Palette.ColorVariation.Dark);

The solutions listed in the link above throw the following exception:

System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.

Is there a way to use theme ColorVariations along with RadSplashScreen?

Thank you

Nadya | Tech Support Engineer
Telerik team
 answered on 02 Feb 2026
0 answers
34 views

We have an app that has RadComboBox controls arranged above some RadNumericUpDown controls. For the RadNumericUpDown controls we have it set up to open a numeric pad on PreviewMouseUp to support both mouse and touch. The issue we have is that when a combobox item is selected that lies over a numericupdown using touch, the numericupdown control receives the focus and activates the numeric pad. This does not occur when using a mouse.

Attached is an example derived from our app that reproduces this behavior. Selecting Pounds or Newtons from the Force combobox using touch will cause a message box to appear.

Is there any way to work around this behavior? It is annoying but not a show-stopper.

Thanks,
Jim

Jim
Top achievements
Rank 1
 asked on 28 Jan 2026
0 answers
41 views

Hi,

When using RadGridView ExportAndShow method (GridViewExportFormat = Csv or Txt), the first data row is inserted next to column headers, it's missing a carriage return.

ResultGrid.ExportAndShow(GridViewExportFormat.Csv, "fileName.txt", true);

I'm using Telerik.UI.for.Wpf.80.Xaml 2025.4.1321

Camille
Top achievements
Rank 1
 asked on 26 Jan 2026
1 answer
94 views

We are encountering severe UI thread blocking when using RadOpenFolderDialog during high-volume file operations (concurrent exports).

Technical Findings: After investigating the internal implementation, we identified the root cause in the DialogWindowBase class. Specifically, inside the SetupDialogContent method, the AddWatcher parameter is hardcoded to true.

This forces the underlying DirectoryInfoWrapper to initialize a FileSystemWatcher and unconditionally subscribe to the following events:

  • Changed
  • Created
  • Deleted
  • Renamed

Because our application generates a large volume of file events during export, these subscriptions flood the message pump and hang the UI thread.

The Question: Since AddWatcher is hardcoded, is there a supported way (or a workaround via reflection/subclassing) to:

Override SetupDialogContent to pass AddWatcher = false?

Access the DirectoryInfoWrapper instance post-initialization to manually unsubscribe from these events?

We urgently need to stop this component from listening to file system changes to maintain application responsiveness.

Version: 2024.4.1213.462

Martin Ivanov
Telerik team
 answered on 13 Jan 2026
0 answers
41 views

I have a WPF app with a RadMap and the ability for the user to change the UI language at runtime. This works for the most parts but the MapZoomBar component does not recognize the resetting of the CustomTelerikLocalizationManager class. On application startup it works as expected, but on runtime change it does not.

Is there a method to force a reload? My alternative is to dynamically recreate the MapZoomBar

Renier Pretorius
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 05 Jan 2026
0 answers
51 views
I have a custom control that uses RadMultiColumnComboBox and when it's used in a dialog window, and the user opens the dropdown, then without clicking on anything else but the X to close the dialog window, the window closes but the drop down stays open. I would like to fix this in the control itself instead of on the screen if possible but everything I try doesn't work. I've tried adding a .CloseDropDown() call to the LostFocus, Unloaded, and even listened for the parent window to close and all of those attempts had no effect. This seems like a bug in the RadMultiColumnComboBox. I do have KeepDropDownOpen set to False.
Shawn
Top achievements
Rank 1
Iron
Iron
 asked on 23 Dec 2025
0 answers
255 views

Hi there,

I recently upgraded from 2024.3.821 to 2025.4.1111 and I found some weird issue when deserializing raddiagram xml.  Attached please see two SerializationInfo strings. Both of them can be deserialized in 2024.3.821 but the one named "diagram serialization info_bad" is not able to be deserialized completely in 2025.4.1111. I found the RadDiagramShape with Id = "7cc7b6c3-1606-453d-a9ab-ebc0bd53b207" is causing issue so I removed it from the SerializationInfo Info and named it "diagram serialization info_good". 

Please help me to check why the RadDiagramShape Id = "7cc7b6c3-1606-453d-a9ab-ebc0bd53b207" will cause issue in 2025.43.1111 since it didn't give me any error or exception.

my code is simple as:

SerializationInfo e1 = SerializationInfo.CreateDiagramInfo(serializationInfo);
RadDiagram.Deserialize(e1);

Thank you

Chao-An
Top achievements
Rank 1
 asked on 18 Dec 2025
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
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?