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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top