using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CMS.FormControls;
using CMS.UIControls;
public partial class CMSModules_PortalEngine_FormControls_PageLayouts_PageLayoutSelector : FormEngineUserControl
{
#region "Properties"
///
/// Whether control is enabled.
///
public override bool Enabled
{
get
{
return uniselect.Enabled;
}
set
{
uniselect.Enabled = value;
}
}
///
/// Value.
///
public override object Value
{
get
{
return uniselect.Value;
}
set
{
uniselect.Value = value;
}
}
///
/// Gets the UniSelector control
///
public UniSelector UniSelector
{
get
{
return uniselect;
}
}
#endregion
#region "Methods"
///
/// Page load event.
///
protected void Page_Load(object sender, EventArgs e)
{
if (StopProcessing)
{
uniselect.StopProcessing = true;
return;
}
uniselect.IconPath = GetImageUrl("Objects/CMS_Layout/object.png");
uniselect.DropDownSingleSelect.AutoPostBack = true;
uniselect.IsLiveSite = IsLiveSite;
}
///
/// On changed.
///
protected void uniselect_OnSelectionChanged(object sender, EventArgs e)
{
RaiseOnChanged();
}
#endregion
}