This is a migrated thread and some comments may be shown as answers.

when set radtreeviewitem.IsEditable=true Error:Value does not fall within the expected range

1 Answer 89 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
John
Top achievements
Rank 1
John asked on 15 Jun 2012, 06:15 AM
when i set radtreeviewitem.IsEditable=true  then throw  Error:Value does not fall within the expected range

code is :
    <Grid>
 <Grid.Resources>
  <DataTemplate x:Key="EDITTeam">
         <StackPanel Orientation="Horizontal">
             <TextBox Text="" Width="100"/>
             <TextBlock Text=" | Count#"/>
             <TextBlock Text="  "/>
    <app:ButtonEx Content="取消编辑" Action="CancelEdit" ActionParam=""/>
         </StackPanel>
     </DataTemplate>
 </Grid.Resources>
 <telerik:RadTreeView x:Name="radTreeView"
 IsDragDropEnabled="True" IsEditable="True"
 ItemEditTemplate="{StaticResource EDITTeam}">
<telerik:RadTreeViewItem>
   <telerik:RadTreeViewItem.Header>
   <StackPanel Orientation="Horizontal">
    <TextBlock Text="test" Margin="0,3,0,0"/>
    <TextBlock Text="    "/>
    <!--<app:ButtonEx Content="AddChildItem" Action="ADD" />-->
   </StackPanel>
   </telerik:RadTreeViewItem.Header>
</telerik:RadTreeViewItem>
</telerik:RadTreeView>

Python:
treemain.SelectedItem.IsEditable=True

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 19 Jun 2012, 09:02 AM
Hello,

I've tried to simulate the issue but with no avail. Could you please modify the attached project in order to simulate the issue so we can investigate in detail.

Looking for your answer.

Regards,
Hristo
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TreeView
Asked by
John
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or