问题标签 [mvcextensions]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
160 浏览

gridview - DevExpress GridView EditFormTemplate 密码字段

我正在使用 DevExpress GridView 弹出编辑表单。在我的模型中,密码和确认密码字段是必需的。当用户编辑记录时,我使用下面给定的标记将控件标记为可见或不可见,因为管理员用户一旦创建用户就不允许更改密码,但我的 modelState 仍然无效并说即使它是在编辑模式下也需要密码无形的。

我正在使用 MVC 扩展 19.1