Developer forum

Forum » Rapido » The "BackgroudColor" for GridView always returns "#FFFFFF"

The "BackgroudColor" for GridView always returns "#FFFFFF"

Lara Arsénio
Reply

After changing the Product List background color in Website Settings > Product List > Grid View > Edit preset,  I have noticed the GridView "BackgroudColor" is always returning "#FFFFFF", despite any change in that field. 

The field is called like this:

Pageview.AreaSettings.GetItem("ProductList").GetItem("GridView").GetString("BackgroundColor")

It is a bug, or we need to use a diferent method to call color fields?


Replies

 
Vladimir Shushunov Dynamicweb Employee
Vladimir Shushunov
Reply

Hi Lara,

hmm... this method should work!

Could you clarify: the edited preset is selected? Product list changes its background color?

Best regards,
Vladimir

 

You must be logged in to post in the forum