protected void Page_PreRender(object sender, EventArgs e)
        {
            if (filterSearch != null)
            {
                filters.Visible = false;
                if (filterSearch == "Win")
                {
                    Master.PageTitle = SuppliersStrings.GetText(@"SupliersWithWin");
                }
                if (filterSearch == "NoWin")
                {
                    Master.PageTitle = SuppliersStrings.GetText(@"SupliersWithNotWin");
                }
                if (filterSearch == "ActiveBids")
                {
                    Master.PageTitle = SuppliersStrings.GetText(@"SupliersWithActivesBids");
                }
            }
            else
            {
                filters.Visible  = true;
                Master.PageTitle = SuppliersStrings.GetText(@"SuppliersReportPageTitle");
            }

            Master.ActiveMenu = "SuppliersReport";
            Master.AddClientScriptInclude(@"dgDateManager.js");
        }
Exemplo n.º 2
0
 protected void Page_PreRender(object sender, EventArgs e)
 {
     if (filterSearch != null)
     {
         linksSearch.Visible    = false;
         BidsCountLabel.Visible = true;
         if (filterSearch == "ActiveBids")
         {
             Master.PageTitle = BidString.GetText(@"DetailsMyActiveBidsPageTitle");
             // BidsCountLabel.Text = BidString.GetText(@"SumActiveBids");
         }
         if (filterSearch == "BidsWithOffers")
         {
             Master.PageTitle = BidString.GetText(@"DetailsMyCountBidsPageTitle");
             // BidsCountLabel.Text = BidString.GetText(@"SumCountBids");
         }
         if (filterSearch == "BidsWithOutOffers")
         {
             Master.PageTitle = BidString.GetText(@"DetailsMyWithNotOffersPageTitle");
         }
         if (filterSearch == "PurchaseBids")
         {
             Master.PageTitle = BidString.GetText(@"DetailsMyBidsPurchasePageTitle");
             //BidsCountLabel.Text = BidString.GetText(@"SumPurchaseBids");
         }
     }
     else
     {
         BidsCountLabel.Visible = false;
         linksSearch.Visible    = true;
         Master.PageTitle       = BidString.GetText(@"BidsPageTitle");
     }
     Master.ActiveMenu = "Bids";
     Master.AddClientScriptInclude(@"dgDateManager.js");
 }
Exemplo n.º 3
0
        protected void Page_PreRender(object sender, EventArgs e)
        {
            Master.PageTitle  = MessagesStrings.GetText(@"MessagesPageTitle");
            Master.ActiveMenu = "Messages";

            Master.AddClientScriptInclude(@"dgDateManager.js");
        }
        protected void Page_PreRender(object sender, EventArgs e)
        {
            Master.PageTitle  = SuppliersStrings.GetText(IsNewMode ? @"NewSupplierPageTitle" : @"EditSupplierPageTitle");
            Master.ActiveMenu = IsNewMode ? "NewSupplier" : "Suppliers";
            Master.AddClientScriptInclude(@"dgDatePicker.js");

            rfvPasswordRequired.Visible        = rfvPasswordRequired.Enabled = IsNewMode;
            rfvConfirmPasswordRequired.Visible = rfvConfirmPasswordRequired.Enabled = IsNewMode;
        }
Exemplo n.º 5
0
    protected void Page_PreRender(object sender, EventArgs e)
    {
        filters.Visible  = true;
        Master.PageTitle = SupplierEventStrings.GetText(@"ServiceSuppliersReportPageTitle");


        Master.ActiveMenu = "ServiceSuppliersReport";
        Master.AddClientScriptInclude(@"dgDateManager.js");
    }
Exemplo n.º 6
0
 protected void Page_PreRender(object sender, EventArgs e)
 {
     Master.PageTitle = Resources.Cart.ResourceManager.GetString("Title");
     //BidsCountLabel.Visible = false;
     //linksSearch.Visible = true;
     Master.PageTitle  = Resources.Cart.ResourceManager.GetString("Title");
     Master.ActiveMenu = "Carts";
     Master.AddClientScriptInclude(@"dgDateManager.js");
 }
Exemplo n.º 7
0
        protected void Page_PreRender(object sender, EventArgs e)
        {
            Master.PageTitle  = AppUsersStrings.GetText(IsNewMode ? @"NewAppUserPageTitle" : @"EditAppUserPageTitle");
            Master.ActiveMenu = IsNewMode ? "NewAppUser" : "AppUsers";
            Master.AddClientScriptInclude(@"dgDatePicker.js");

            //trCurrentPassword.Visible = !IsNewMode && AppUserId == SessionHelper.UserId();
            rfvPasswordRequired.Visible        = rfvPasswordRequired.Enabled = IsNewMode;
            rfvConfirmPasswordRequired.Visible = rfvConfirmPasswordRequired.Enabled = IsNewMode;
        }
Exemplo n.º 8
0
        protected void Page_PreRender(object sender, EventArgs e)
        {
            AppSupplier supplier = AppSupplier.FetchByID(SupplierId);

            if (supplier != null)
            {
                Master.PageTitleHtml = string.Format(CommentsStrings.GetText(@"CommentsSupplierPageTitle"), supplier.BusinessName);
            }
            else
            {
                Master.PageTitle = CommentsStrings.GetText(@"CommentsPageTitle");
            }
            Master.ActiveMenu = "Comments";

            Master.AddClientScriptInclude(@"dgDateManager.js");
        }
Exemplo n.º 9
0
 protected void Page_PreRender(object sender, EventArgs e)
 {
     if (filterSearch != null)
     {
         linksSearch.Visible    = false;
         BidsCountLabel.Visible = true;
     }
     else
     {
         BidsCountLabel.Visible = false;
         linksSearch.Visible    = true;
         Master.PageTitle       = BidString.GetText(@"AdminRejectTitle");
     }
     Master.ActiveMenu = "UntakedBids";
     Master.AddClientScriptInclude(@"dgDateManager.js");
 }
Exemplo n.º 10
0
 protected void Page_PreRender(object sender, EventArgs e)
 {
     Master.PageTitle  = CampaignStrings.GetText(@"CampaignTitlePage");
     Master.ActiveMenu = "Campiagn";
     Master.AddClientScriptInclude(@"dgDateManager.js");
 }
 protected void Page_PreRender(object sender, EventArgs e)
 {
     Master.PageTitle  = NotificationStrings.GetText(@"AllNotifications");
     Master.ActiveMenu = "Notifications";
     Master.AddClientScriptInclude(@"dgDateManager.js");
 }
Exemplo n.º 12
0
 protected void Page_PreRender(object sender, EventArgs e)
 {
     Master.PageTitle  = NotificationStrings.GetText(IsNewMode ? @"NewNotification" : @"EditNotification");
     Master.ActiveMenu = IsNewMode ? "NotificationEdit" : "Notifications";
     Master.AddClientScriptInclude(@"dgDatePicker.js");
 }
 protected void Page_PreRender(object sender, EventArgs e)
 {
     Master.PageTitle  = Snoopi.web.Resources.PromotedArea.ResourceManager.GetString("ProductPromotedAreaHeader");
     Master.ActiveMenu = "PromotedProducts";
     Master.AddClientScriptInclude(@"dgDateManager.js");
 }
 protected void Page_PreRender(object sender, EventArgs e)
 {
     Master.PageTitle  = AdvertisementsStrings.GetText(@"AllAds");
     Master.ActiveMenu = "Advertisements";
     Master.AddClientScriptInclude(@"dgDateManager.js");
 }
Exemplo n.º 15
0
 protected void Page_PreRender(object sender, EventArgs e)
 {
     Master.PageTitle  = ResourceManagerAccessor.GetText("PromotedArea", IsNewMode ? @"NewPromotedSupplier" : @"EditPromotedSupplier");
     Master.ActiveMenu = IsNewMode ? "EditPromotedSuppliers" : "PromotedSuppliers";
     Master.AddClientScriptInclude(@"dgDatePicker.js");
 }
Exemplo n.º 16
0
 protected void Page_PreRender(object sender, EventArgs e)
 {
     Master.PageTitle  = string.Format(OrdersStrings.GetText(@"AppUserOrdersPageTitle"), AppUserEmail);;
     Master.ActiveMenu = "AppUsers";
     Master.AddClientScriptInclude(@"dgDateManager.js");
 }
Exemplo n.º 17
0
 protected void Page_PreRender(object sender, EventArgs e)
 {
     Master.PageTitle  = AdvertisementsStrings.GetText(IsNewMode ? @"NewAdCompanyPageTitle" : @"EditAdCompanyPageTitle");
     Master.ActiveMenu = IsNewMode ? "EditAdCompany" : "AdCompanies";
     Master.AddClientScriptInclude(@"dgDatePicker.js");
 }
Exemplo n.º 18
0
 protected void Page_PreRender(object sender, EventArgs e)
 {
     Master.PageTitle  = Yad2Strings.GetText(@"ProductsYad2PageTitle");
     Master.ActiveMenu = "ProductsYad2";
     Master.AddClientScriptInclude(@"dgDateManager.js");
 }
 protected void Page_PreRender(object sender, EventArgs e)
 {
     Master.ActiveMenu = "PriceDeviations";
     Master.AddClientScriptInclude(@"dgDateManager.js");
 }
Exemplo n.º 20
0
        protected void Page_PreRender(object sender, EventArgs e)
        {
            if (!AllBids)
            {
                CustomerUI customer = BidController.GetCustomerData(CustomerId, customerType);
                if (bidType == BidType.BidActive)
                {
                    Master.PageTitle    = customerType == CustomerType.AppUser ? BidString.GetText(@"MyActiveBidsPageTitle") + " " + customer.CustomerName : BidString.GetText(@"CustomersTempPageTitle");
                    BidsCountLabel.Text = BidString.GetText(@"SumActiveBids");
                }
                if (bidType == BidType.BidCount)
                {
                    Master.PageTitle    = customerType == CustomerType.AppUser ? BidString.GetText(@"MyCountBidsPageTitle") + " " + customer.CustomerName : BidString.GetText(@"CustomersTempPageTitle");
                    BidsCountLabel.Text = BidString.GetText(@"SumCountBids");
                }
                if (bidType == BidType.BidAbandoned)
                {
                    Master.PageTitle    = customerType == CustomerType.AppUser ? BidString.GetText(@"MyBidsAbandonedPageTitle") + " " + customer.CustomerName : BidString.GetText(@"CustomersTempPageTitle");
                    BidsCountLabel.Text = BidString.GetText(@"SumAbandonedBids");
                }
                if (bidType == BidType.BidPurchase)
                {
                    Master.PageTitle    = customerType == CustomerType.AppUser ? BidString.GetText(@"MyBidsPurchasePageTitle") + " " + customer.CustomerName : BidString.GetText(@"CustomersTempPageTitle");
                    BidsCountLabel.Text = BidString.GetText(@"SumPurchaseBids");
                }
            }
            else
            {
                if (bidType == BidType.BidActive)
                {
                    Master.PageTitle    = customerType == CustomerType.AppUser ? BidString.GetText(@"DetailsMyActiveBidsPageTitle") : BidString.GetText(@"CustomersTempPageTitle");
                    BidsCountLabel.Text = BidString.GetText(@"SumActiveBids");
                }
                if (bidType == BidType.BidCount)
                {
                    Master.PageTitle    = customerType == CustomerType.AppUser ? BidString.GetText(@"DetailsMyCountBidsPageTitle") : BidString.GetText(@"CustomersTempPageTitle");
                    BidsCountLabel.Text = BidString.GetText(@"SumCountBids");
                }
                if (bidType == BidType.BidAbandoned)
                {
                    if (BidLeave)
                    {
                        Master.PageTitle    = customerType == CustomerType.AppUser ? BidString.GetText(@"DetailsMyWithNotOffersPageTitle") : BidString.GetText(@"CustomersTempPageTitle");
                        BidsCountLabel.Text = BidString.GetText(@"SumAbandonedBids");
                    }
                    else
                    {
                        Master.PageTitle    = customerType == CustomerType.AppUser ? BidString.GetText(@"DetailsMyBidsAbandonedPageTitle") : BidString.GetText(@"CustomersTempPageTitle");
                        BidsCountLabel.Text = BidString.GetText(@"SumAbandonedBids");
                    }
                }
                if (bidType == BidType.BidPurchase)
                {
                    Master.PageTitle    = customerType == CustomerType.AppUser ? BidString.GetText(@"DetailsMyBidsPurchasePageTitle") : BidString.GetText(@"CustomersTempPageTitle");
                    BidsCountLabel.Text = BidString.GetText(@"SumPurchaseBids");
                }
            }
            Master.ActiveMenu = "MyBids";

            Master.AddClientScriptInclude(@"dgDateManager.js");
        }