<p>Based on a simple test I ran, I don't think it's possible to put an inline &lt;style&gt; tag into an ASP.NET server control.  The style did not end up rendering to the output HTML.  Even if it was possible, I'm sure it is bad practice to do this.</p>
<p>Is it possible to do this?  I can see it being useful for quick prototypes that just have 1 or 2 CSS classes to apply.</p>

I think you will have to add it as an attribute to the server control... for it to render to HTML.
So basically (in C#),
```
```
ControlName.Attributes["style"] = "color:red";
```
```