当前位置: 首页>>代码示例>>C#>>正文


C# StoreSettingConfig.GetStoreSettingParamFour方法代码示例

本文整理汇总了C#中AspxCommerce.Core.StoreSettingConfig.GetStoreSettingParamFour方法的典型用法代码示例。如果您正苦于以下问题:C# StoreSettingConfig.GetStoreSettingParamFour方法的具体用法?C# StoreSettingConfig.GetStoreSettingParamFour怎么用?C# StoreSettingConfig.GetStoreSettingParamFour使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在AspxCommerce.Core.StoreSettingConfig的用法示例。


在下文中一共展示了StoreSettingConfig.GetStoreSettingParamFour方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Page_Load

 protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         GetPortalCommonInfo(out StoreID, out PortalID, out CustomerID, out UserName, out CultureName, out SessionCode);
         AspxCommonInfo aspxCommonObj = new AspxCommonInfo(StoreID, PortalID, UserName, CultureName);
         ServicePath = ResolveUrl(this.AppRelativeTemplateSourceDirectory);
         SecurityPolicy objSecurity = new SecurityPolicy();
         FormsAuthenticationTicket ticket = objSecurity.GetUserTicket(GetPortalID);
         templateName = TemplateName;
         IncludeCss("WishItemListCSS", "/Templates/" + templateName + "/css/MessageBox/style.css", "/Templates/" + templateName + "/css/PopUp/style.css", "/Templates/" + templateName + "/css/ToolTip/tooltip.css", "/Modules/AspxCommerce/AspxWishList/css/WishItems.css");
         IncludeJs("WishItemListJS", "/Modules/AspxCommerce/AspxWishList/js/WishItemList.js", "/js/Paging/jquery.pagination.js", "/js/DateTime/date.js", "/js/MessageBox/jquery.easing.1.3.js", "/js/MessageBox/alertbox.js", "/js/PopUp/custom.js", "/js/jquery.tipsy.js", "/js/encoder.js");
         if (ticket != null && ticket.Name != ApplicationKeys.anonymousUser)
         {
             MembershipController member = new MembershipController();
             UserInfo userDetail = member.GetUserDetails(GetPortalID, GetUsername);
             UserFullName = userDetail.FirstName + " " + userDetail.LastName;
             UserEmailWishList = userDetail.Email;
             if (UserEmailWishList.Contains(","))
             {
                 string[] commaSeparator = { "," };
                 string[] value = UserEmailWishList.Split(commaSeparator, StringSplitOptions.RemoveEmptyEntries);
                 UserEmailWishList = value[0];
             }
             if (!string.IsNullOrEmpty(SageUserModuleID))
             {
                 UserModuleIDWishList = int.Parse(SageUserModuleID);
             }
             if (!IsPostBack)
             {
                 resolveUrl = ResolveUrl("~/"); 
             }
             StoreSettingConfig ssc = new StoreSettingConfig();
             ssc.GetStoreSettingParamFour(StoreSetting.ShowAddToCartButton, StoreSetting.DefaultProductImageURL, StoreSetting.AllowOutStockPurchase, StoreSetting.SortByOptions, out AllowAddToCart, out NoImageWishList, out AllowOutStockPurchase, out sortByOptions, StoreID, PortalID, CultureName);
         }
         else
         {
             SageFrameConfig pagebase = new SageFrameConfig();
             pageExtension = SageFrameSettingKeys.PageExtension;
             if (GetPortalID > 1)
             {
                 Response.Redirect(ResolveUrl("~/portal/" + GetPortalSEOName + "/" + pagebase.GetSettingsByKey(SageFrameSettingKeys.PortalLoginpage)) + pageExtension + "?ReturnUrl=" + Request.Url.ToString(), false);
             }
             else
             {
                 Response.Redirect(ResolveUrl("~/" + pagebase.GetSettingsByKey(SageFrameSettingKeys.PortalLoginpage)) + pageExtension + "?ReturnUrl=" + Request.Url.ToString(), false);
             }
         }
         IncludeLanguageJS();
         BindWishList(aspxCommonObj);
     }
     catch (Exception ex)
     {
         ProcessException(ex);
     }
 }
开发者ID:xiaoxiaocoder,项目名称:AspxCommerce2.7,代码行数:56,代码来源:WishItemList.ascx.cs


注:本文中的AspxCommerce.Core.StoreSettingConfig.GetStoreSettingParamFour方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。