You must Sign In to post a response.
  • Category: .NET

    check boxes in dynamically generated treeview

    The forum thread has not been reviewed by Editors yet. Readers are advised to use their best judgement before accessing this thread.
    This thread will be reviewed shortly.
    If you think this thread contain inappropriate content, please report to webmaster.

    i have a dynamically generated treeview,which shows all the available books in a library.

    here different categories r parent nodes n books available in that particular category are child nodes.

    for selecting books,i want to add check boxes,only for child nodes ( not for category)

    if i select the 'checkbox' option,then i'll get check boxes even for parent nodes.

    any other suggestions/options for selecting books(child nodes)-(max of 4-books allowed)
    it should all the user to select 'n' books(here its 4)

    thanx in advance,
  • #201445
    try adding this property in <asp:TreeView......ShowCheckBoxes ="Leaf">

  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.