Checked css

2 posts, 0 answers
  1. Storm
    Storm avatar
    7 posts
    Member since:
    Jan 2011

    Posted 23 Jul 2011 Link to this post

    1. How do i change css on a check item using RadTreeNodeBinding
    2. also onnodecheck (postback) way to loop thru all checked items and will it include items checked as a result of CheckChildNodes being set

    The data binds just fine pickup the is_closed column from the database

    <td align="left" colspan="3">
                        <telerik:RadTreeView runat="server" ID="RadTreeView1" DataSourceID="SqlDataSource1"
                            DataFieldID="pk" DataFieldParentID="parent_pk" CheckBoxes="True"
                            CheckChildNodes="True" TriStateCheckBoxes="False"   
                            DataValueField="is_closed" onnodecheck="RadTreeView1_NodeCheck"   >
                            <DataBindings>
                                <telerik:RadTreeNodeBinding TextField="Description" Expanded="True" 
                                    AllowDrag="False" AllowDrop="False"  
                                    CheckedField="is_closed" AllowEdit="False"  />
                            </DataBindings>
                        </telerik:RadTreeView>
                    </td>
  2. Plamen
    Admin
    Plamen avatar
    2968 posts

    Posted 26 Jul 2011 Link to this post

    Hello Storm,

    It seems that you will also have to set the Checkable=true property of  RadTreeNodeBinding.
    You may also have a look at this forum post:
    http://www.telerik.com/community/forums/aspnet-ajax/treeview/unable-to-bind-checked-nodes-in-radtreeview.aspx

    Hope this will help you.

    All the best,
    Plamen Zdravkov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top