<%@ Control Language="c#" %>
<%@ Register TagPrefix="ComponentArt" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>

	<ComponentArt:TreeView id="ForumTree" 
		DragAndDropEnabled="false" 
		NodeEditingEnabled="false"
		KeyboardEnabled="true"
		CssClass="CommonTreeFormArea" 
		NodeCssClass="CommonTreeFormNode" 
		SelectedNodeCssClass="CommonTreeFormNodeSelected" 
		HoverNodeCssClass="CommonTreeFormNodeHover"
		LineImageWidth="19" 
		LineImageHeight="20"
		DefaultImageWidth="16" 
		DefaultImageHeight="16"
		ItemSpacing="0" 
		ImagesBaseUrl="~/themes/default/images/file/"
		NodeLabelPadding="3"
		ParentNodeImageUrl="folder.gif" 
		ExpandedParentNodeImageUrl="folder_open.gif" 
		LeafNodeImageUrl="folder_open.gif" 
		ShowLines="true" 
		LineImagesFolderUrl="~/themes/default/images/file/lines/"
		EnableViewState="true"
		runat="server"  />

<asp:Panel id="ButtonPanel" runat="server" visible="False" HorizontalAlign="Right">
	<input type="button" onclick="<%= ClientID %>_ForumTree.ExpandAll()" value="Expand All" />
	<input type="button" onclick="<%= ClientID %>_ForumTree.CollapseAll()" value="Collapse All" />
</asp:Panel>
