using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace Birdshome.Web.WebControls
{
/// <summary> /// Summary description for ClientNavigation. /// </summary> [DefaultProperty("Text")]
[ToolboxData("<{0}:ClientNavigation runat=server></{0}:ClientNavigation>")]
public class ClientNavigation : WebControl, INamingContainer, IPostBackDataHandler
{
public ClientNavigation() :
base() {}
Properties protected override void Render(HtmlTextWriter writer)
{
this.RegisterClientScript();
writer.AddAttribute(HtmlTextWriterAttribute.Type, "hidden");
writer.AddAttribute(HtmlTextWriterAttribute.Id,
this.ClientID);
writer.AddAttribute(HtmlTextWriterAttribute.Name,
this.ClientID);
writer.AddAttribute(HtmlTextWriterAttribute.Value,
string.Format("{0}:{1}",
this.PositionTop,
this.PositionLeft));
writer.RenderBeginTag(HtmlTextWriterTag.Input);
writer.RenderEndTag();
}
Client Script IPostBackDataHandler interface }
}