Home - Forums-.NET - FlyTreeView (ASP.NET) - TreeView is not loading

FlyTreeView (ASP.NET)

Technical support and KB related to the FlyTreeView control

This forum related to following products: FlyTreeView for ASP.NET

TreeView is not loading
Link Posted: 20-Jul-2006 14:00
I just downloaded and installed the Trial version for ASP.NET 1.1 and it all installed ok.

But the control is not appearing.

Here's what I did after installing:

1)  Opened VS 2003 and opened my project
2)  Loaded the components via Tools -  Add new items to ToolBox
3)  Dragged FlyTreeView control to page
4)  Pointed NodeSrc to my xml file
5)  Build.  Nothing.

Does my xml file need to be in a certain format?  I can't find any documentation on how to get started.

Any ideas?

Thanks,

King Wilder
Link Posted: 23-Jul-2006 07:53
Yes, your XML file should conform to a specific XML DTD.

Here's a demo page with XML datasource example:
http://www.9rays.net/asp.net/treeview/Demos.aspx?demo=program_xml


DTD:

  
      Key CDATA #REQUIRED
   Text CDATA #IMPLIED  
   ToolTip CDATA #IMPLIED

   NavigateUrl CDATA #IMPLIED
   NavigateTarget CDATA #IMPLIED
  
   ChildNodeType CDATA #IMPLIED
   NodeType CDATA #IMPLIED
   NodeSrc CDATA #IMPLIED
   Expanded (True|False) #IMPLIED
   ExpandLevel CDATA #IMPLIED
  
   DefaultStyle CDATA #IMPLIED
   HoverStyle CDATA #IMPLIED
   SelectedStyle CDATA #IMPLIED
   SelectedHoverStyle CDATA #IMPLIED

   ImageUrl CDATA #IMPLIED
   SelectedImageUrl CDATA #IMPLIED
   ExpandedImageUrl CDATA #IMPLIED
   SelectedExpandedImageUrl CDATA #IMPLIED
  
   IconSetPath CDATA #IMPLIED
  
   PostBackOnExpand (True|False) #IMPLIED
   PostBackOnCollapse (True|False) #IMPLIED
   PostBackOnSelect (True|False) #IMPLIED
   PostBackOnDeselect (True|False) #IMPLIED
   PostBackOnCheck (True|False) #IMPLIED
   PostBackOnUncheck (True|False) #IMPLIED
  
   SelectExpands (True|False) #IMPLIED
   SelectCollapses (True|False) #IMPLIED
  
   CanBeSelected (True|False) #IMPLIED
  
   IsCheckBox (True|False) #IMPLIED
  
   IsChecked (True|False) #IMPLIED> ]>