Click here to Skip to main content
15,886,799 members
Articles / Web Development / HTML

The AnywherePlaceHolder. Part 2: The Advanced AnywherePlaceHolder

Rate me:
Please Sign up or sign in to vote.
4.00/5 (4 votes)
8 Sep 20054 min read 38.6K   444   25  
Eliminating the boundaries of frames. Writing your ASP.NET controls on any desired location in any frame.
using System;
using System.Collections.Generic;
using System.Text;

namespace DeKale.WebControls
{
	/// <summary>
	/// Defines the methods to render the <see cref="AnywherePlaceHolder"/>
	/// </summary>
	public enum AnywhereRenderMethodType
	{
		/// <summary>Renders the control in the <see cref="DestinationControlId"/>.</summary>
		RenderInDestination = 0,
		/// <summary>Renders the control normally (within the Control Tree)</summary>
		RenderNormal = 1,
		/// <summary>Renders the control both normally as in the <see cref="DestinationControlId"/>.</summary>
		RenderBoth = 2
	}
}

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
Netherlands Netherlands
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions