Treeview(s) as NCAA bracket?

2 posts, 0 answers
  1. Kevin
    Kevin avatar
    16 posts
    Member since:
    Nov 2007

    Posted 22 Dec 2009 Link to this post

    Hello community,

    I was trying to create a series of Treeview controls and arrange them to create an NCAA Bracket.  Of course, ideally, I would like to minimize the number of controls on a webpage, but I didn't get too far.  My thought was have a treeview on the left (if looking at the image attached, say UNC vs Mt. St. Mary's) and using client-side code - move the selected team over to another treeview control off to the right (round 2) - in the appropriate node.  So, the UNC/MSM winner would go as the top node in round two, the Indiana/Arkansas winner would go to node two.  I was able to get the text of the selected node in round one using javascript, but was unable to add it to another treeview (for round two).  In the end, all the selections would be saved to SQL Server.

    Has anyone ever tried this?

    Thanks in advance!

  2. Kamen Bundev
    Kamen Bundev avatar
    1532 posts

    Posted 28 Dec 2009 Link to this post

    Hi Kevin,

    Unfortunately you probably won't be able to implement this tree like structure with RadTreeView. The main problem you will encounter will be most likely the vertical alignment of the child nodes related to their parents. Maybe you will have more success with a databound ASP table control with empty cells and specific borders.

    Kind regards,
    Kamen Bundev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top