/// <summary> /// Initializes the control properties. /// </summary> protected void SetupControl() { if (StopProcessing) { // Do nothing } else { string[] items = ReportValue.Split(';'); if ((items != null) && (items.Length == 2)) { ucValue.Parameter = items[0] + "." + items[1]; ucValue.ReportItemName = items[0] + ";" + items[1]; ucValue.CacheItemName = CacheItemName; ucValue.CacheMinutes = CacheMinutes; ucValue.CacheDependencies = CacheDependencies; ucValue.ItemType = ReportItemType.Graph; ucValue.LoadDefaultParameters(ParametersXmlData, ParametersXmlSchema); ucValue.EnableSubscription = EnableSubscription; ucValue.IsLiveSite = (CMSContext.ViewMode == ViewModeEnum.LiveSite);; ucValue.ReloadData(true); } } }
/// <summary> /// Initializes the control properties. /// </summary> protected void SetupControl() { if (this.StopProcessing) { // Do nothing } else { string[] items = ReportValue.Split(';'); if ((items != null) && (items.Length == 2)) { ucValue.Parameter = items[0] + "." + items[1]; ucValue.ReportItemName = items[0] + ";" + items[1]; ucValue.CacheItemName = CacheItemName; ucValue.CacheMinutes = CacheMinutes; ucValue.CacheDependencies = CacheDependencies; ucValue.ItemType = ReportItemType.Graph; ucValue.LoadDefaultParameters(this.ParametersXmlData, this.ParametersXmlSchema); ucValue.ReloadData(true); } } }