remove css class in code behind

后端 未结 8 886
说谎
说谎 2020-12-29 01:51

I have this control


I want to remove the

8条回答
  •  生来不讨喜
    2020-12-29 02:19

    You can replace "required" with an empty string:

    lblName.CssClass = lblName.CssClass.Replace("required", "");
    

提交回复
热议问题