public static ItemTabSettingInfo ItemTabSettingGet(AspxCommonInfo aspxCommonObj)
 {
     try
     {
         ItemTabSettingInfo lstItem = AspxItemMgntProvider.ItemTabSettingGet(aspxCommonObj);
         return(lstItem);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
    private void GetItemTabSetting()
    {
        AspxCommonInfo aspxCommonObj = new AspxCommonInfo();
        aspxCommonObj.StoreID = GetStoreID;
        aspxCommonObj.PortalID = GetPortalID;
        aspxCommonObj.CultureName = GetCurrentCultureName;
        ItemTabSettingInfo lstItemSetting = new ItemTabSettingInfo();
        lstItemSetting = AspxItemMgntController.ItemTabSettingGet(aspxCommonObj);
        if (lstItemSetting == null)
        {
            lstItemSetting = new ItemTabSettingInfo();
        }
        JavaScriptSerializer json_serializer = new JavaScriptSerializer();
        if (lstItemSetting != null)
        {
            object obj = new
           {
               EnableCostVariantOption = lstItemSetting.EnableCostVariantOption,
               EnableGroupPrice = lstItemSetting.EnableGroupPrice,
               EnableTierPrice = lstItemSetting.EnableTierPrice,
               EnableRelatedItem = lstItemSetting.EnableRelatedItem,
               EnableCrossSellItem = lstItemSetting.EnableCrossSellItem,
               EnableUpSellItem = lstItemSetting.EnableUpSellItem
           };
            Settings = json_serializer.Serialize(obj);
        }
        else
        {
            object obj = new
            {
                EnableCostVariantOption = lstItemSetting.EnableCostVariantOption,
                EnableGroupPrice = lstItemSetting.EnableGroupPrice,
                EnableTierPrice = lstItemSetting.EnableTierPrice,
                EnableRelatedItem = lstItemSetting.EnableRelatedItem,
                EnableCrossSellItem = lstItemSetting.EnableCrossSellItem,
                EnableUpSellItem = lstItemSetting.EnableUpSellItem
            };
            Settings = json_serializer.Serialize(obj);
        }

    }