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
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