Beispiel #1
0
 //開啟選擇報名者視窗
 protected void btnAgent_Click(object sender, EventArgs e)
 {
     try
     {
         OpenAgentSelector1.Visible   = true;
         OpenAgentSelector1.TitleName = "代理報名";
         //OpenAgentSelector1.OkName = "報名";
         OpenAgentSelector1.InitDataAndShow(ActivityID.ToString());
     }
     catch (Exception ex)
     {
         WriteErrorLog("Agent", ex.Message, "0");
     }
 }
Beispiel #2
0
 protected void Wizard1_NextButtonClick(object sender, WizardNavigationEventArgs e)
 {
     if (Wizard1.ActiveStepIndex == 0)
     {
         if (Session["Agent"] != null)
         {
             OpenAgentSelector1.Visible   = true;
             OpenAgentSelector1.TitleName = "代理報名";
             //OpenAgentSelector1.OkName = "報名";
             OpenAgentSelector1.InitDataAndShow(ActivityID.ToString());
             btnAgent.Visible = true;
         }
     }
     if (Wizard1.ActiveStepIndex == 1)
     {
         if (((Boolean)Session["ShowPanel"]) == false)
         {
             Wizard1.MoveTo(Wizard1.WizardSteps[3]);
         }
     }
 }