i've come across a problem that I cant figure out looking through the options for a <div id="test" runat="server">..
I need to dynamically set a background-image to a <div>.
i have tried the following
literal1.text = "style:background-image...";
(this wouldnt be a nice way of doing even if it worked)
i've also tried
<div id="panel1" runat="server">
panel1.ApplyStyleSheetSkin = "background-image: url()";
not sure how to use ApplyStyleSheetSkin but that was my best attempt
I could write the entire div out using a literal control I guess, like so,
literal1.text = "<div style=background-image:url...>content</div>";
but i assume there's a nicer way of doing it?