My div contains 4 css class I want to delete one from them for adding, I do this:
MyDivId.Attributes["class"] += " addedClass";
in newest framework they can be done like this:
MyDivId.CssClass.Replace("addedClass", "");
but in .net 2.0 not found CssClass
some proposals? thx in advance!
Pravesh Singh
29-Jan-2014And then use it:
MyDivId.RemoveCssClass("addedClass");