开发者

Is it possible to exclude parts of your model using Html.EditorFor?

Should be pretty simple question here. I have

@Html.EditorFor(model=>model.Training)

开发者_如何学运维I dont want to show some parts. Is there a way for me to exclude some from showing?


[ScaffoldColumn(false)]
public string SomeProperty {get; set;}

That should do the trick!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜