Telerik Forums
UI for WPF Forum
1 answer
291 views

I'm using the RadMultiColumnComboBox control with the GridViewItemsSourceProvider. It's showing a validation error that something "cannot be empty" and I can't get it to go away. Because this control is just used to select a record, I don't want any kind of validation in the grid of any kind. I've tried setting these properties on the bindings for each column:

ValidatesOnDataErrors = false,
ValidatesOnNotifyDataErrors = false,
ValidatesOnExceptions = false,
NotifyOnValidationError = false,

I've also tried setting the grid view's validation mode to none. I've tried setting these properties on the columns:

IsReadOnly = true,
ValidatesOnDataErrors = Telerik.Windows.Controls.GridViewValidationMode.None

Nothing works.

Nadya | Tech Support Engineer
Telerik team
 answered on 03 Apr 2026
0 answers
75 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
1 answer
119 views
Good morning,
I can't figure out how to change the GridView style in the RadMultiColumnComboBox WPF. I'd like to change the text in the column header, for example, or the alternating columns, but I can't figure out how. I have the 2022 version of Telerik 2022 R3 SP1. I hadn't had any problems with WinForm, but I'm having some difficulty with WPF. Can someone tell me how to do it?
Thanks
Stenly
Telerik team
 answered on 13 Nov 2025
1 answer
87 views
Good morning,
Is it possible to remove the ClearButton from the RadMultiColumnComboBox so that I can select and copy text into the RadMultiColumnComboBox's text field with ctl + c?
I have Telerik 2022 R3 SP1 and I can't figure out how to do it. It's easy with RadComboBoxes; is it possible that this isn't possible with the RadMultiColumnComboBox?
Stenly
Telerik team
 answered on 12 Nov 2025
0 answers
96 views

The data in all of our multi column combo boxes has a key value always as the first column in the grid. We want our users to be able to enter one of those key values then hit tab to select it. However, in some cases, just entering the key value doesn't cause the record with that key value to be at the top, so when the user hits tab it selects the top record instead of the record matching the key value entered.

See example below with US states as values:

 

In scenarios like these, I'd like to be able override the default selection logic and see if there is a record where the text in the search box exactly matches a key value, if so, select that value instead of the first value.

This was the last thing I tried inside the PreviewKeyDown event but it seemed to freeze and then not work as expected.

if (e.Key == System.Windows.Input.Key.Tab)
{
    string typedText = MultiColumnComboBox
        .FindChildByType<TextBox>()
        .Text
        .Trim();

    if (MultiColumnComboBox.DropDownContentManager.DropDownElement is RadGridView gridView)
    {
        string keyFieldName = gridView.Columns[0].UniqueName;

        var itemToSelect = gridView.Items
            .OfType<DataRow>()
            .FirstOrDefault(row =>
            {
                var keyValue = row[keyFieldName];
                return keyValue != null &&
                       keyValue.ToString().Equals(typedText, StringComparison.OrdinalIgnoreCase);
            });

        if (itemToSelect != null)
        {
            gridView.SelectedItem = itemToSelect;
        }
    }
}

Shawn
Top achievements
Rank 1
Iron
Iron
 asked on 27 Jun 2025
1 answer
97 views

When the user is using the MultiColumnComboBox, if they open the combo box, then use the arrow keys to highlight a row in the grid, but then change their mind and hit escape to close the dropdown, then want to move to the next field so they hit tab, it then selects the last record that was highlighted in the grid. This seems like a bug to me. The docs for this control say "Escape: Pressing Escape will close the DropDown and the matched item would not be selected."

If the user can't tab out of the field without selecting a record, how can they leave the field without selecting a record with just the keyboard?

I was able to duplicate this functionality in the demo app. See zipped GIF in the attachments.

Stenly
Telerik team
 answered on 13 May 2025
1 answer
119 views

There's an issue with the RadMultiColumnComboBox in that the inner text field is left aligned so if the user doesn't click exactly in the text box, then they can't type anything.

In the attached image, I set the border of the inner textbox to red just for a visual aid. If the user clicks anywhere inside the red border, then the field gets focus and they can type and everything works as expected. However, if they're not focused on that field and they try to click to the right of the red border, it does nothing and to the user, it feels buggy.

I tried setting the horizontal alignment of the text box to stretch, but that had no effect. Is there a fix for this?

Shawn
Top achievements
Rank 1
Iron
Iron
 answered on 13 Mar 2025
0 answers
150 views

I'm having an issue with the RadMultiColumnComboBox where it accepts returns, so it grows the field when it shouldn't. I tried this but it had no effect:

private void MultiColumnComboBox_Loaded(object sender, RoutedEventArgs e)
{
    var textBox = MultiColumnComboBox.FindChildByType<TextBox>();
            
    if (textBox != null)
    {
        textBox.AcceptsReturn = false;
        textBox.AcceptsTab = false;
    }
}
How can I make it so the field doesn't accept returns?
Shawn
Top achievements
Rank 1
Iron
Iron
 asked on 13 Mar 2025
1 answer
274 views

I've been working with the Telerik WPF controls for the last couple of months and appreciating them.

<rant>

However, I have a major gripe as well:  most of the examples are FAR too complex.  Here's a perfect example.  I'm trying to get a ComboBox to work with a GridView.  There is an example that does pretty much exactly what I want at https://github.com/telerik/xaml-sdk/tree/master/ComboBox/DropDownWithHeaders.  However,

  1. A simple clone from the repository won't run.  That seems fundamental to me.  When I look into it, the problem is themes.  A simple example should not even include themes!  I would suggest a proper example would allow me to clone and run, with nothing else on my machine but Visual Studio.
  2. When I look into the actual example, it is anything but simple!  The control template is 155 lines of code!?!?!  How do I sort through that quickly and figure out what I need and don't need?  I don't need all kinds of animation or fancy styles.  For the purposes of learning the controls, I need the absolute minimum to make it work!

There is also an example of this at https://www.telerik.com/forums/radcombobox-with-radgridview, but it suffers from the same problems.

This kind of thing seriously makes me ponder going back to our old controls provider.

</rant>

Now, can someone please provide me with a simple example of a ComboBox that uses a GridView for the drop-down?

Of course perhaps I'm using the wrong control.  Maybe I should be using the MultiColumnComboBox, but the end results shown in the examples make it look nothing like a traditional ComboBox.  (Again, that may be owing to a lack of a good, simple example.)

Help?

Stenly
Telerik team
 answered on 26 Nov 2024
1 answer
196 views

Hi,

I'm using a RadMultiColumnComboBox and can't seem to be able to set the validation error template to Tooltip using:

telerik:ValidationErrorTemplateHelper.DisplayMode="ToolTip"

It always set the validation message on the right of the control, and in my case it's being clipped by the windows limits.

This usually works great on all other controls.

Thank you for your help

Stenly
Telerik team
 answered on 03 Jun 2024
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
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?