Change style attribute of a WebUserControl
I am writing a project in C# and I am using a WebUserControl. Can anyone tell me how can I change the style property by clicking a button within the WebUserControl, in order to change its background color?
(eg. from MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; to MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; BACKGROUND-COLOR: blue)