Пример #1
0
 /// <summary>
 /// Lcs the attendance_ chart click.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The e.</param>
 protected void lcAmount_ChartClick(object sender, ChartClickArgs e)
 {
     if (this.DetailPageGuid.HasValue)
     {
         Dictionary <string, string> qryString = new Dictionary <string, string>();
         qryString.Add("YValue", e.YValue.ToString());
         qryString.Add("DateTimeValue", e.DateTimeValue.ToString("o"));
         NavigateToPage(this.DetailPageGuid.Value, qryString);
     }
 }
Пример #2
0
 /// <summary>
 /// Lcs the example_ chart click.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The e.</param>
 public void lcExample_ChartClick(object sender, ChartClickArgs e)
 {
     if (this.DetailPageGuid.HasValue)
     {
         Dictionary <string, string> qryString = new Dictionary <string, string>();
         qryString.Add("MetricValueId", e.MetricValueId.ToString());
         qryString.Add("MetricId", this.MetricId.ToString());
         qryString.Add("SeriesId", e.SeriesId);
         qryString.Add("YValue", e.YValue.ToString());
         qryString.Add("DateTimeValue", e.DateTimeValue.ToString("o"));
         NavigateToPage(this.DetailPageGuid.Value, qryString);
     }
 }
Пример #3
0
        /// <summary>
        /// Lcs the example_ chart click.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The e.</param>
        public void lcExample_ChartClick(object sender, ChartClickArgs e)
        {
            Guid?detailPageGuid = (GetAttributeValue("DetailPage") ?? string.Empty).AsGuidOrNull();

            if (detailPageGuid.HasValue)
            {
                Dictionary <string, string> qryString = new Dictionary <string, string>();
                qryString.Add("MetricValueId", e.MetricValueId.ToString());

                qryString.Add("MetricId", this.MetricId.ToString());
                qryString.Add("SeriesId", e.SeriesId);
                qryString.Add("YValue", e.YValue.ToString());
                qryString.Add("DateTimeValue", e.DateTimeValue.ToString("o"));
                NavigateToPage(detailPageGuid.Value, qryString);
            }
        }