Style attribute for asp.net controls

  • Thread starter Thread starter Pasta Bolognese
  • Start date Start date
P

Pasta Bolognese

If I edit the native HTML in Visual Studio, and add the STYLE attribute
to an ASP.NET control it has an effect.

But Style doesn't appear as a property in VS.2003

Only Cssclass appears...
 
Yes, the ASP Server controls have a CssClass property which translates to
the class property when rendered. The style property doesn't appear in the
designer, but you can programmatically access it in code.
myButton.Style.---

Jeffrey Palermo
 
Back
Top