本文整理汇总了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);
}
}