Currently, I am adding a CSS class to my li tag using the following code snippet:
liComPapers.Attributes.Add("class", "NoDisplay");
Is there a way to remove this specific class (NoDisplay) from the li tag at a different location in my code?
I have attempted the code below, but it does not seem to be effective:
liComPapers.Attributes["class"] = "";
Any assistance would be greatly appreciated.