This project is read-only.

Adding section at top instead of bottom

Dec 7, 2012 at 2:53 PM

Hi ,

In TreeView if section contains many nodes and  if we add section then it will add at last.

Is there  any way to add section at first instead of bottom?

Thanks in advance.

 

 

Dec 7, 2012 at 4:10 PM

Use this function to add a new node wherever you want: MvcControlsToolkit_TreeView_AddNew(root, templateChosen, [item], [after])

See documentation here: http://mvccontrolstoolkit.codeplex.com/wikipage?title=Client%20Side%20Handling%20of%20Items%20Controls