I have this control
I want to remove the
You can replace "required" with an empty string:
lblName.CssClass = lblName.CssClass.Replace("required", "");