예제 #1
0
        protected void CampaignDonationSettings()
        {
            MethodBase lmth          = MethodBase.GetCurrentMethod();
            string     lsRoutineName = lmth.DeclaringType + "." + lmth.Name;

            Classes.cDonation DonationSettings = new Classes.cDonation();
            DonationSettings.GetDonationCampaignSettings(Master.CampaignID);
            //hidStatus.Value = DonationSettings.StatusID.ToString();
            hidShip1.Value = DonationSettings.DefaultShipToAdd1.ToString();
            hidShip2.Value = DonationSettings.DefaultShipToAdd2.ToString();
            hidCity.Value  = DonationSettings.DefaultShipToCity.ToString();
            hidState.Value = DonationSettings.DefaultShipToState.ToString();
            hidZip.Value   = DonationSettings.DefaultShipToPostalCode.ToString();
            hidPhone.Value = DonationSettings.DefaultShipToPhone.ToString();
        }
예제 #2
0
        protected void CampaignDonationSettings()
        {
            MethodBase lmth          = MethodBase.GetCurrentMethod();
            string     lsRoutineName = lmth.DeclaringType + "." + lmth.Name;

            Classes.cDonation DonationSettings = new Classes.cDonation();
            DonationSettings.GetDonationCampaignSettings(Master.CampaignID);
            hidAllowPlayerToPlayerPoints.Value        = DonationSettings.AllowPlayerToPlayerPoints.ToString();
            hidShowDonationClaims.Value               = DonationSettings.ShowDonationClaims.ToString();
            hidCountTransfersAgainstMax.Value         = DonationSettings.CountTransfersAgainstMax.ToString();
            hidDefaultAwardWhen.Value                 = DonationSettings.DefaultAwardWhen.ToString();
            hidMaxItemsPerEvent.Value                 = DonationSettings.MaxItemsPerEvent.ToString();
            hidMaxPointsPerEvent.Value                = DonationSettings.MaxPointsPerEvent.ToString();
            hidCPOpportunityID.Value                  = DonationSettings.CampaignCPOpportunityID.ToString();
            hidCampaignCPOpportunityDefaultID.Value   = DonationSettings.CampaignCPOpportunityDefaultID.ToString();
            Session["CampaignCPOpportunityDefaultID"] = DonationSettings.CampaignCPOpportunityDefaultID.ToString();
        }