private void BindShopByPanel() { if (EnableShopBy) { IList <ShopByField> shopByFields = ProductDataSource.LoadShopByFields(_keyword, this._categoryId, _manufacturerId, true, true, true, 0, 0, false, PageHelper.GetShopByChoices()); MerchantFieldRepeater.DataSource = shopByFields; MerchantFieldRepeater.DataBind(); ShopByPanel.Visible = shopByFields.Count > 0; } else { ShopByPanel.Visible = false; } }