I have a RadComboBox thats bind to an Enum list like so
<telerik:RadComboBox HorizontalAligment="Streatch"
x:Nmae="RadComboBox"
HorizontalAligmentContent="Left"
Margin ="0 0 10 0"
StayOpenOnEdit="True"
AllowMultipleSelection= "True"
ItemSource="{Binding SignalTypes}"
behaviors:SelectedItemsBinding.SourceList = "{Binding SelectedSignalTypes}"
BorderThickness ="1"
VerticalContentAligment="Center"
CanAutocompleteSelectItems="True"
EmptyTexy =" Select Signal Type"
TextSearchMode="Contains"
>
<telerik:RadComboBox.MultipleSelectionBoxTemplate>
<DataTemplate>
<TextBlock Text="{Binding ElementName=RadComboBox , Path=SelectionBoxItem, Converter={StaticResource EnumValueToDisplayTextConverter}"/>
</DataTemplate>
</telerik:RadComboBox.MultipleSelectionBoxTemplate>
</telerik:RadComboBox>
Where SourceList is MultiSelector and EnumValueToDisplayTextConverter is a IValueConverter which convert from Enum to its corresponding DescriptonAttribute
My Problem is that in the converter value I'm a getting a string list, separated by the separator (i.e item1, item2, etc.)
and im excepting 1 item inside my convertor, therefore my converter failed and I don't see any items at all at SelectionBox
i tried to use ItemsControl inside the template but for some reason i was getting 1 letter(char) of the Enum each time
P.S
I know i can create a new convertor and solve the problem, but i prefer not to
P.S2
I cant change my convertor
Our QA Team identified a bug and we were able to replicated on Telerik Control Example Application. we have being trying to fixit but so far we have not found a solution to the problem.
Replication Steps(please see video and gif attached):
Is there any way of fixing this from our end?
Kind regard
Julio
Hey, I have using your control RadMenuGroupItem with ItemsSource that is Observable Collection of string. I noticed that for name with underscore in them, the underscore is removed from the name. Here an example:
telerik_123 will turn to telerik123
I use the same ItemsSource in a RadComboBox and in there I don't have this issue.
What can I do to solve this?
Sincerely, Omer
I have the following class
Class My Class
Class MyClass()
{
public int Var1 {get; set; }
public int Var2 {get; set; }
}
i want the selected item to show {var1}/{var2}
for now im doing (for now) is
DisplayMemberPath = "Var1"
but because its a String and a Dependency property i cannot attach a MultiBinding
and RadMultiColumnComboBox does not have itemTemplate property
how can i achieve it
P.S
I want the same behavior for the tooltip
p.s 2
i also want to center the selected text but it seems HorizontalContentAlignment is not working
Thanks in advance
<Control.Template>
<ControlTemplate TargetType="{x:Type Mods_UiMod_FrameControls:UiFrameContent}">
<StackPanel x:Name="Part_MainStack" DataContext="{Binding}">
<telerik:RadComboBox Grid.Row="3"
Grid.Column="1"
Height="20"
Margin="5 0 5 0"
DisplayMemberPath="CODE_NAME"
FontSize="11"
ItemsSource="{Binding Source=
{x:Static Public_Code:CommonCodes.FormTypes}}"
SelectedIndex="{Binding SelectedIndexForm,
UpdateSourceTrigger=PropertyChanged}"
SelectedValuePath="CODE_ID"
SelectionBoxTemplate="{StaticResource CodeCBTemplate}"
x:Name="cbType"/>
<Label Grid.Row="4"
Grid.Column="0"
Content="Create Month"
FontSize="11"
Foreground="White" Name="lbCreateMonth">
<Label.Style>
<Style TargetType="Label">
<Setter Property="Visibility" Value="Collapsed"/>
<Style.Triggers>
<DataTrigger Binding="{Binding ElementName=cbType, Path=SelectedIndex}" Value="0">
<Setter Property="Visibility" Value="Visible"/>
</DataTrigger>
</Style.Triggers>
</Style>
</Label.Style>
</Label>
<telerik:RadComboBox Grid.Row="4"
Grid.Column="1"
Height="20"
Margin="5 0 5 0"
DisplayMemberPath="CODE_NAME"
FontSize="11"
ItemsSource="{Binding Source={x:Static Public_Code:CommonCodes.TimeMonthCodes}}"
SelectedIndex="{Binding SelectedIndexCreateMonth,
UpdateSourceTrigger=PropertyChanged}"
SelectedValuePath="CODE_ID"
SelectionBoxTemplate="{StaticResource CodeCBTemplate}" Name="cbCreateMonth">
<telerik:RadComboBox.Style>
<Style TargetType="{x:Type telerik:RadComboBox}">
<Setter Property="Visibility" Value="Collapsed"/>
<Style.Triggers>
<DataTrigger Binding="{Binding ElementName=cbType, Path=SelectedIndex}" Value="0">
<Setter Property="Visibility" Value="Visible"/>
</DataTrigger>
</Style.Triggers>
</Style>
</telerik:RadComboBox.Style>
</telerik:RadComboBox>
<StackPanel x:Name="Part_MainStack" DataContext="{Binding}">
</ControlTemplate>
</Control.Template>
Hi
I'm getting error in the VS2022 designer when I click on a RadComboBox.
It shows a busy cursor and then a dialog with the message "XAML designer is busy"
When I cancel the dialog it shows a message that an unhandled exception has occurred with the option to reload the designer.
The only way to make the RadComboBox clickable is to switch on "only display platform controls"
Then it shows a generic looking control in the place of the RadComboBox
This is happening on version 2022.3.1109 but was also happening on 2022.2.621
Is this something you can fix? or is the problem something that you have to wait on Microsoft for
Thanks
Paul Mc
I'm trying to make my gridview box column show the dropdown tick without having to click
<telerik:GridViewComboBoxColumn Header="Active" DataMemberBinding="{Binding EnableCase}" UniqueName="Active" ItemsSource="{Binding Activeops}" DisplayMemberPath="Describe" SelectedValueMemberPath="ID" />
The Dropdown only shows up when i click on the header
Is it possible to reduce the Telerik RadComboBox in RadGridView (GridViewComboBoxColumn) Height?
We have an issue in our project, we cannot reduce the RadGridView RowHeight.
For your reference, in the below screenshot, Column3 is Telerik RadComboBox in RadGridView (GridViewComboBoxColumn).
After adding the Column3 (Telerik RadComboBox in RadGridView (GridViewComboBoxColumn)), RowHeight becomes larger.
> Can you please suggest how to reduce RadComboBox height in RadGridView (GridViewComboBoxColumn)?
Thanks in advance.
Hi,
I'm using a customized style for RadCombobox.
The problem is, I found it impossible to reverse the dropdown button(arrow) when it is clicked.
I want the arrow to go up when the combobox expands and go down when the combobox collapses.
Can Anyone give me an example code of this?
We have a RadGridView which contains a combobox, bound to a collection of custom objects.
At the moment the full text search does not take the combobox items into consideration when searching.
How can i tell the fulltextsearch to search in the title of the, in the combobox chosen, object?