Link in validation summary message

后端 未结 6 1485
野性不改
野性不改 2020-12-20 17:33

Is it possible to put a HTML link in validation summary message? For example I want to put a link to another page in case there is validation error:

@Html.Va         


        
6条回答
  •  萌比男神i
    2020-12-20 17:55

    No, the default behaviour doesn't allow it, but you can make your own. This is what you need: Html raw in validationsummary

提交回复
热议问题