Click here to Skip to main content
15,891,943 members
Articles / Web Development / ASP.NET

TreeWeb - custom ASP.NET control

Rate me:
Please Sign up or sign in to vote.
4.83/5 (67 votes)
2 Mar 20035 min read 365.3K   9.3K   188  
A tree control that can be used in every website based on ASP.NET.
using System;
using System.Web.UI;

namespace iiuga.Web.UI
{
	/// <summary>
	/// ITreeElementWriter interface declaration. All the objects which want to implement
	/// a writer class for the TreeElement should inherit from this interface.
	/// 
	/// Copyright � Iulian Iuga, 2003. All Rights Reserved.
	/// </summary>
	/// <author>
	/// Created by Iulian Iuga; 04 January, 2003
	/// </author>
	internal interface ITreeElementWriter
	{
		/// <summary>
		/// When implemented renders an element inside the tree.
		/// </summary>
		/// <param name="writer"></param>
		/// <param name="element"></param>
		void RenderElement( HtmlTextWriter writer, TreeElement element );
	}


	/// <summary>
	/// ITreeWebWriter interface declaration. All the objects which want to implement
	/// a writer class for the TreeWeb should inherit from this interface.
	/// 
	/// Copyright � Iulian Iuga, 2003. All Rights Reserved.
	/// </summary>
	/// <author>
	/// Created by Iulian Iuga; 04 January, 2003
	/// </author>
	internal interface ITreeWebWriter
	{
		/// <summary>
		/// When implemented renders the tree.
		/// </summary>
		/// <param name="writer"></param>
		/// <param name="tree"></param>
		void RenderTree( HtmlTextWriter writer, TreeWeb tree );
	}

}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions