I am setting 2 css class in the code behind in ASP.NET
I could either do:
txtBox.Attributes.Add(\"class\", \"myClass1\"); txtBox.Attributes.Add(\"class\"
You can also try
txtBox.CssClass = "myClass1 myClass2";