This is a migrated thread and some comments may be shown as answers.

Treeview(s) as NCAA bracket?

1 Answer 77 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 2
Kevin asked on 22 Dec 2009, 02:49 PM
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!

Kevin

1 Answer, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 28 Dec 2009, 01:36 PM
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.
Tags
TreeView
Asked by
Kevin
Top achievements
Rank 2
Answers by
Kamen Bundev
Telerik team
Share this question
or