示例#1
0
 protected void cgvPerformanceIndicator_Action(object sender, Micajah.Common.WebControls.CommonGridViewActionEventArgs e)
 {
     if (e.Action == CommandActions.Add)
     {
         Response.Redirect("PerformanceIndicatorEdit.aspx?IsNew=True");
     }
 }
示例#2
0
 protected void cgvDataRule_Action(object sender, Micajah.Common.WebControls.CommonGridViewActionEventArgs e)
 {
     if (e.Action != Micajah.Common.WebControls.CommandActions.Add)
     {
         return;
     }
     Response.Redirect(RedirectEditUrl);
 }
示例#3
0
 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");
 }
示例#4
0
        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);
        }
示例#5
0
 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()));
     }
 }