阅读背景:

复选框禁用了ASP中的属性。NET MVC

来源:互联网 

My ViewModel has a property of selected and selectable. Both are boolean. I would like my view to have a checkbox that is enabled when selectable is true and disabled when selectable is false. What is the proper razor syntax to accomplish this ?My ViewModel has a property of selected and sel




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: