Html.Label to display email address

前端 未结 3 1394
悲哀的现实
悲哀的现实 2020-12-11 06:08

I am using Html.Label to display some data in my MVC applilcation. When I am trying to display email address it does not render properly

Model.CopyToEmail =         


        
3条回答
  •  感情败类
    2020-12-11 06:44

    Can you please look at the model OR your data source to the view to return the property value: i.e. like, Html.Encode(Model.Email)

提交回复
热议问题