MVC 3 Display HTML inside a ValidationSummary

前端 未结 5 1576
遥遥无期
遥遥无期 2021-02-14 14:18

I am trying to display a strong tag inside a validation summary but it encodes it and does not display properly.

@Html.ValidationSummary(false, \"E         


        
5条回答
  •  南笙
    南笙 (楼主)
    2021-02-14 14:48

    I have a site that uses Resource files for language. In one of the items I placed this for the Value: Pharmacy Name is required and it works.

提交回复
热议问题