MVC Server-side Validation of RadioButton and DropDownList

前端 未结 2 1321
遇见更好的自我
遇见更好的自我 2021-01-28 13:24

Using ASP.NET Core 2.2 Razor Pages, I\'m exploring binding radio buttons and dropdownlists to the page model.

Plenty of people are asking about client-side validation to

2条回答
  •  耶瑟儿~
    2021-01-28 13:52

    Server side and client side validations are important, you always need implement server side validations, maybe your client validations could be omited but never the server side validations, the code that you posted not perform any server side validation

提交回复
热议问题