I have the following on my interface / webform:
Now I have a condition in my
mydiv.Attributes("class") = mydiv.Attributes("class").Replace("forceHeight", "")
The other answers did not work for me. Like the OP said, I'm not getting myDiv.CssClass in IntelliSense.
myDiv.CssClass
IntelliSense