I have a TreeView in my ASP.Net application that is populating the users media library based on the directory they provide, that is completed. I have a CheckBox for each LeafNode, this is for creating a Windows Media Player Playlist (.wpl file). There is no, from what I can tell, a checked event for the leaf nodes checkboxes. I can access the selected items with a foreach loop
CODE
foreach (TreeNode node in MediaLibrary.CheckedNodes)
{
}
But I was wondering how I can capture that when each CheckBox is checked so I can populate a Repeater in an AJAX UpdatePanel with each song that is selected, as it is selected. I have a
Save button that creates the file when the user is finished selecting their songs, I'm just wanting a way to show them in a separate list as they select them.
Does anyone know of a way to capture each song as they are checked? I'm tired of beating my head against the wall lol