Exemplo n.º 1
0
 protected void cgvPerformanceIndicator_Action(object sender, Micajah.Common.WebControls.CommonGridViewActionEventArgs e)
 {
     if (e.Action == CommandActions.Add)
     {
         Response.Redirect("PerformanceIndicatorEdit.aspx?IsNew=True");
     }
 }
Exemplo n.º 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);
 }
Exemplo n.º 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");
 }
Exemplo n.º 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);
        }
Exemplo n.º 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()));
     }
 }