using System;
using System.Collections;
namespace DBWebControls.WebNavigator{
/// <summary>
/// Summary description for AbstractWebPage.
/// </summary>
public abstract class NavBasePageState : IDisposable
{
protected string l_PagePath;
protected Hashtable htUserControls = new Hashtable(1);
public NavBasePageState(string p_PagePath)
{
l_PagePath = p_PagePath;
}
public string PagePath
{
get{return l_PagePath;}
}
public void AddUserControl(string ControlID, NavUserControlState controldata)
{
htUserControls.Add( ControlID, controldata);
}
public void RemoveUserControl(string ControlID)
{
htUserControls.Remove(ControlID);
}
public NavUserControlState GetUserControl(string ControlID)
{
return (NavUserControlState)htUserControls[ControlID];
}
#region IDisposable Members
public virtual void Dispose()
{
// TODO: Add NavBasePageState.Dispose implementation
}
#endregion
}
}
|