using System; using System.Data; using System.Collections; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using CMS.CMSHelper; using CMS.GlobalHelper; using CMS.UIControls; public partial class CMSModules_WebAnalytics_Controls_UI_Campaign_List : CMSAdminListControl { #region "Properties" /// /// Inner grid. /// public UniGrid Grid { get { return gridElem; } } /// /// Indicates if the control should perform the operations. /// public override bool StopProcessing { get { return base.StopProcessing; } set { base.StopProcessing = value; gridElem.StopProcessing = value; } } /// /// Indicates if the control is used on the live site. /// public override bool IsLiveSite { get { return base.IsLiveSite; } set { base.IsLiveSite = value; gridElem.IsLiveSite = value; } } #endregion #region "Methods" protected void Page_Load(object sender, EventArgs e) { gridElem.WhereCondition = "CampaignSiteID =" + CMSContext.CurrentSiteID; gridElem.EditActionUrl = "Frameset.aspx?campaignId={0}&displayReport=" + QueryHelper.GetBoolean("displayReport", false); } #endregion }