10 Answers, 1 is accepted
Just like the standard WPF ComboBox, IsReadOnly has effect only when IsEditable = true, but does not prevent the user from selecting values - it just makes the editable text box read-only. To completely prevent the control from selection you should use IsEnabled = false.
Greetings,
Valeri Hristov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
When I change the IsEditable = false - the controls are barely visible.
How can I 'keep' the same style - but just 'lock them down'?
thanks again
Kind regards,
Teodor
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
What is the purpose of IsHitTestVisible ?
In two words, when you set IsHitTestVisible to false, the mouse related events are not received by the control. For example, the control does not receive notification that the mouse is moved or clicked. Find more information on this matter here.
Sincerely yours,
Teodor
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Thanks.
HI All,
i have similar requirement . i am using RadComboBox and inside using checkbox.
when checkboxes are selected then cheboxes selected value need to display in combobox. it is displaying currently . but when we move next control then selected value not displaying. Please help on this.
<telerik:RadComboBox HorizontalAlignment="Left"
x:Name="cmbCategory"
Width="350"
ItemsSource="{Binding ProcessNames,Mode=TwoWay}" Text="{Binding SelectedProcessName,Mode=TwoWay}" IsEditable="True" IsReadOnly ="True"
Grid.Column="1" >
<telerik:RadComboBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<CheckBox Name="BusinessProcessName" Content="{Binding CheckProcessNames,Mode=TwoWay}" IsChecked="{Binding IsSelected,Mode=TwoWay}">
</CheckBox>
</StackPanel>
</DataTemplate>
</telerik:RadComboBox.ItemTemplate>
HI All,
i have similar requirement . i am using RadComboBox and inside using checkbox.
when checkboxes are selected then cheboxes selected value need to display in combobox. it is displaying currently . but when we move next control then selected value not displaying. Please help on this.
You can use the TextSearch.TextPath property of the RadComboBox which will display the chosen property of the SelectedItem in the text box. That said, you should change the SelectedItem when the IsSelected property changes and add this in the RadComboBox:
TextSearch.TextPath="CheckProcessNames"
Hope this helps.
Regards,
Telerik by Progress
you can inherits the combo to CombEx
override OnPreviewKeyDown - if (IsReadOnly && e.Key!=Key.Tab ) e.Handled=True and then Return
and Override
OnIsDropDownOpenChanged(Bool oldValue,Bool newValue)
if(IsReadOnly==True) NewValue=False;
Return