title: sharepoint 2010 how to create a webpart with a treeview?
body: <p>I have sharepoint 2010 and visual studio 2010.</p>
  
  <p>I want to create a webpart that will contain a tree view and it will show all files from a list or library (the path should be configurable in the web part settings).</p>
  
  <p>The tree view should be compatible with folders.</p>
  
  <p>Also I want it so that you can change the order of the items, so I want beside each item an up and down arrow button, then when clicked will change the order of the item, but this needs to affect the original list as well.</p>
  
  <p>So I was thinking of having a column on the original list called orderby, then have it be sorted by that column. Then this web part can change the number of the item in the orderby column of the original list and then refresh the webpart to load the changes.</p>
  
  <p>I don't know much on web part programming yet, but can anyone help me get started?</p>
  
  <p>thanks</p>