ItemsOptionListType="CheckList" in new version and some others properties...

3 posts, 1 answers
  1. Fabiana
    Fabiana avatar
    69 posts
    Member since:
    Oct 2009

    Posted 29 Jun 2010 Link to this post

    Hello Support! I installed new version Q2 2010, and I am having problems with my RadTreeListView example. How to change my code to work again?? Thanks!!!

    My code:

    <UserControl x:Class="SilverlightApplication1.MainPage"
                 mc:Ignorable="d" xmlns:d=""
                 Height="213" Width="660"

            <telerik:CellTemplate x:Key="firstNameTemplate" >
                <TextBlock Foreground="#284869" Text="{Binding FirstName}" VerticalAlignment="Center"  Margin="2"/>

            <telerik:CellTemplate x:Key="lastNameTemplate" >
                <TextBlock Foreground="#284869" Text="{Binding LastName}" VerticalAlignment="Center"  Margin="2"/>
            <DataTemplate x:Key="itemTemplate">
                <Grid />


        <nav:RadTreeListView Background="White" x:Name="RadTreeListViewTest" BorderBrush="#a9a9a9" BorderThickness="1" HorizontalContentAlignment="Center" Width="574" Height="170"
                             IsDragDropEnabled="False" IsDragPreviewEnabled="False" IsDragTooltipEnabled="False"
                             IsEditable="True" SelectionMode="Single"
                             ItemTemplate="{StaticResource itemTemplate}"
                                                        IsLineEnabled="True" IsOptionElementsEnabled="True" ItemsOptionListType="CheckList">


                <nav:RadColumn Header="First Name" PropertyName="FirstName" Width="150" IsEditable="True" CellTemplate="{StaticResource firstNameTemplate}" />

                <nav:RadColumn Header="Last Name" PropertyName="LastName" Width="150" IsEditable="False" CellTemplate="{StaticResource lastNameTemplate}" />




  2. Answer
    Stefan Dobrev
    Stefan Dobrev avatar
    790 posts

    Posted 02 Jul 2010 Link to this post

    Hi Fabiana,

    You can check the difference in the two online examples: old one, new one. As a general note you should updated your columns to use GridViewDataColumns instead and also define the hierarchy using table definitions as illustrated in the online example.

    Stefan Dobrev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
  4. Fabiana
    Fabiana avatar
    69 posts
    Member since:
    Oct 2009

    Posted 02 Jul 2010 Link to this post

    Ok, thank you very much!
Back to Top