Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox class property
Message
 
 
To
10/05/2005 03:33:18
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01012364
Message ID:
01012434
Views:
20
>Hi
>
>I'm working my way through the book Beginning Visual Web Programming in C#.
>
>I have a problem in a form where I have added a couple of textboxes and a button and I want to set the classname to examples in a style sheet.
>
>The problem I have is that the property list for the textboxes and button doesn't include a class property.
>
>What am I doing wrong ?
>
>
>Thanks
>
>
>Nick Mason

I believe you have to set this property of the textbox in code, in the HTML side of the page. I believe the name is CssClass. If you are using VS.NET you can press the space bar and you will see all properties of the textbox.

HTH.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform