Hello all,
Sorry if, at least the title, might seem odd at least but bear with me because it does make sense in the end.
I need a TreeList to show items that are not initially editable (i.e.: clicking on them won't start editing) but are editable in certain conditions controlled programatically. Such as pressing F2 or adding a new item in the TreeList...
Otherwise a double click is a command that should open the item in a new window (or something) and in this case the first click selects it and the second makes it enter edit mode although it is read-only.
I have isolated the problem and it seems that no matter if I set IsReadOnly=true for both the RadTreeListView and the column itself. Just adding a CellEditTemplate makes it by default editable although I wish it weren't. The only workaround that I have found is to remove completely the CellEditTemplate.
I am not able to attach an archive with a specially-prepared project that shows this exact problem. Therefore I will attach snapshots of the main files involved.
MyPublic Function Convert(ByVal value As Object, ByVal targetType As Type, ByVal parameter As Object, _ ByVal culture As Globalization.CultureInfo) As Object _ Implements IValueConverter.Convert Dim myColor As New SolidColorBrush(System.Windows.Media.Colors.Black) Try Dim cur As Decimal = CDec(value) If cur < 0 Then myColor = New SolidColorBrush(System.Windows.Media.Colors.Red) Catch ex As Exception End Try Return myColor End Functionxxxx.ForecolorPropertyName={Binding Path=DataColumnName, Converter=MyClassConverter}

| private void RadTreeView_SelectionChanged(object sender, SelectionChangedEventArgs e) |
| { |
| MessageBox.Show("Tree - SelectionChanged"); |
| } |
I have a simple RadPanelBar with ExpandMode="Single" where every item contains a TextBox. Is it possible to enable the user to tab between the TextBoxes?
Let's say I have this GUI:
<Grid> <Grid.RowDefinitions> <RowDefinition Height="25" /> <RowDefinition Height="10" /> <RowDefinition Height="200" /> <RowDefinition Height="10" /> <RowDefinition Height="25" /> </Grid.RowDefinitions>
<TextBox Name="TextBoxA" Grid.Row="0" />
<telerikControls:RadPanelBar Grid.Row="2" Orientation="Vertical" ExpandMode="Single" > <telerikControls:RadPanelBarItem Header="Test 1" IsExpanded="True" > <TextBox Name="TextBoxB1" /> </telerikControls:RadPanelBarItem> <telerikControls:RadPanelBarItem Header="Test 2" IsExpanded="True" > <TextBox Name="TextBoxB2" /> </telerikControls:RadPanelBarItem> </telerikControls:RadPanelBar>
<TextBox Name="TextBoxC" Grid.Row="4" /></Grid>
This is my desired behavior:
Is this possible?
