I\'m wondering how I can apply a CSS class to an ASP.NET Control (TextBox in this case) through the backend in C#. For example:
It's just a string property of WebControl:
firstName.CssClass += " selected";