I have the following on my interface / webform:
Now I have a condition in my
mydiv.Attributes["class"] = mydiv.Attributes["class"].ToString().Replace("ClassName","")