Possible to set CheckState while building a node?

2 posts, 0 answers
  1. Adam
    Adam avatar
    1 posts
    Member since:
    May 2008

    Posted 07 May 2009 Link to this post

    We need to rebuild a treeview from values stored in the database.  We'd like to be able to reset the tri-state checkbox for the treeviews if there are both checked and unchecked child nodes for a given node however, the CheckState property is read-only.  Is there any specific reason for this or any way to set the CheckState server-side?

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 May 2009 Link to this post

    Hi Adam,

    A suggestion would be to hook OnNodeDataBound event and set the Checked (e.Node.Checked) property there. Please go through the following links.
    Check checkbox in radtreeview when databind

Back to Top