> The panelcontrol draws correctly whenever I click in the listbox but
> when I click on another button on the webform the panelcontrol looses
> its color although EnableViewState is set to true for the panelcontrol.
Do you set the panel in some initial color in the Page_Load event? Do you
check IsPostBack property before doing that?
> Its only when I set the EnableViewState of the listBox to false that the
> panelcontrol keeps its state (no matter what the EnableViewState of the
> panelcontrol is set to) ???
Setting EnableViewState to false disables firing events. Check if you have
any event handling code that could cause this behavior.

Signature
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin