Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. selecting iterms from Listbox and displaying in ListView using C#, XAML

selecting iterms from Listbox and displaying in ListView using C#, XAML

Scheduled Pinned Locked Moved WPF
csharpwpfalgorithms
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Krishna Aditya
    wrote on last edited by
    #1

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

    C 1 Reply Last reply
    0
    • K Krishna Aditya

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

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups