예제 #1
0
        protected void ChangeTab(object sender, EventArgs e)
        {
            switch (((LinkButton)sender).ID)
            {
            case "lbtnDashboard":
                MakeVisible(ThisSession.AvailableTab.SavingsChoiceDashboard);
                break;

            case "lbtnFindAService":
                MakeVisible(ThisSession.AvailableTab.FindAService);
                break;

            case "lbtnFindRX":
                MakeVisible(ThisSession.AvailableTab.FindRx);
                break;

            case "lbtnFindADoc":
                MakeVisible(ThisSession.AvailableTab.FindADoc);
                break;

            case "lbtnPastCare":
                using (CreateAuditTrail cat = new CreateAuditTrail())
                {
                    cat.CCHID      = ThisSession.CCHID;
                    cat.SessionID  = HttpContext.Current.Session.SessionID;
                    cat.Domain     = Request.Url.Host;
                    cat.Latitude   = double.Parse(ThisSession.PatientLatitude);
                    cat.Longitude  = double.Parse(ThisSession.PatientLongitude);
                    cat.SearchType = "ClickedPastCareTab";
                    cat.PostData();
                }
                MakeVisible(ThisSession.AvailableTab.FindPastCare);
                break;
            }
        }
예제 #2
0
 protected void ChangeTab(object sender, EventArgs e)
 {
     switch (((LinkButton)sender).ID)
     {
         case "lbtnDashboard":
             MakeVisible(ThisSession.AvailableTab.SavingsChoiceDashboard);
             break;
         case "lbtnFindAService":
             MakeVisible(ThisSession.AvailableTab.FindAService);
             break;
         case "lbtnFindRX":
             MakeVisible(ThisSession.AvailableTab.FindRx);
             break;
         case "lbtnFindADoc":
             MakeVisible(ThisSession.AvailableTab.FindADoc);
             break;
         case "lbtnPastCare":
             using (CreateAuditTrail cat = new CreateAuditTrail())
             {
                 cat.CCHID = ThisSession.CCHID;
                 cat.SessionID = HttpContext.Current.Session.SessionID;
                 cat.Domain = Request.Url.Host;
                 cat.Latitude = double.Parse(ThisSession.PatientLatitude);
                 cat.Longitude = double.Parse(ThisSession.PatientLongitude);
                 cat.SearchType = "ClickedPastCareTab";
                 cat.PostData();
             }
             MakeVisible(ThisSession.AvailableTab.FindPastCare);
             break;
     }
 }