selecting iterms from Listbox and displaying in ListView using C#, XAML
-
Hi, I have 3 controls using in a wpf window..textbox, listbox and listview. The textbox is like a searching textbox, where i search for Folder's in a particular folder, the list of searched folders will be displayed in listbox. I am able to do until this part. Now, if I select any of the displayed folders in the listbox, then the files available in the particular folder should be displayed in the ListView. (missing out the link b/w the 2 here). eg : I have 3 folders displayed in listbox (say folder1, folder2, folder3).each folder has few excel files. I selected folder 2 ( which has 5 excel files, mark.xls, steve.xls, cary.xls, rick.xls and jenny.xls and also a subfolder inside that called Launch1). Now, the List view should show the folder2 contents divided into 3 columns, ( col1, col2, col3). Name Desc Date ------------------------------------------------------------------------------------------------------------- Mark this is mark's excel 07/20/2009 steve this is steve's excel. 07/22/2009 cary ............ .................. rick ....................
-
Hi, I have 3 controls using in a wpf window..textbox, listbox and listview. The textbox is like a searching textbox, where i search for Folder's in a particular folder, the list of searched folders will be displayed in listbox. I am able to do until this part. Now, if I select any of the displayed folders in the listbox, then the files available in the particular folder should be displayed in the ListView. (missing out the link b/w the 2 here). eg : I have 3 folders displayed in listbox (say folder1, folder2, folder3).each folder has few excel files. I selected folder 2 ( which has 5 excel files, mark.xls, steve.xls, cary.xls, rick.xls and jenny.xls and also a subfolder inside that called Launch1). Now, the List view should show the folder2 contents divided into 3 columns, ( col1, col2, col3). Name Desc Date ------------------------------------------------------------------------------------------------------------- Mark this is mark's excel 07/20/2009 steve this is steve's excel. 07/22/2009 cary ............ .................. rick ....................
Which bit are you stuck on ? What have you already written ?
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.