protected void cgvPerformanceIndicator_Action(object sender, Micajah.Common.WebControls.CommonGridViewActionEventArgs e) { if (e.Action == CommandActions.Add) { Response.Redirect("PerformanceIndicatorEdit.aspx?IsNew=True"); } }
protected void cgvDataRule_Action(object sender, Micajah.Common.WebControls.CommonGridViewActionEventArgs e) { if (e.Action != Micajah.Common.WebControls.CommandActions.Add) { return; } Response.Redirect(RedirectEditUrl); }
protected void cgvPIF_Action(object sender, Micajah.Common.WebControls.CommonGridViewActionEventArgs e) { if (e.Action != CommandActions.Add) { return; } Utils.MetricUtils.ClearSession(Page.Session); Response.Redirect("PIFEdit.aspx"); }
protected void cgvScoreCardMetric_Action(object sender, Micajah.Common.WebControls.CommonGridViewActionEventArgs e) { if (e.Action != Micajah.Common.WebControls.CommandActions.Add) { return; } string redir; if (MyDashboardMode) { redir = "ScoreCardDashboardEdit.aspx"; } else { redir = "ScoreCardMetricEdit.aspx?ScoreCardID=" + ScoreCardID; } Response.Redirect(redir); }
protected void cgvPerformanceIndicator_Action(object sender, Micajah.Common.WebControls.CommonGridViewActionEventArgs e) { if (e.Action != CommandActions.Add) { return; } if (ListMode == MetricTrac.Bll.PerformanceIndicatorListMode.List) { Response.Redirect("PerformanceIndicatorEdit.aspx?IsNew=True"); } else { if (Request.Params["ctl00$PageBody$mfPerformanceIndicatorForm$ctl01$txt"] != null) { Session[Utils.MetricUtils.SessionObjectNameForPIFormName] = Request.Params["ctl00$PageBody$mfPerformanceIndicatorForm$ctl01$txt"].ToString(); } Response.Redirect(String.Format("PIFPIJunc.aspx?PerformanceIndicatorFormID={0}", PerformanceIndicatorFormID.ToString())); } }