By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,589 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

Style attribute for asp.net controls

P: n/a
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...
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

"Pasta Bolognese" <ja*****@earthlink.net> wrote in message
news:rR*****************@newsread1.news.pas.earthl ink.net...
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...

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.