官方"如何与QUOT;对于MVC编辑/显示模板? [英] Official "How to" for MVC Editor/Display Templates?

查看:118
本文介绍了官方"如何与QUOT;对于MVC编辑/显示模板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用MVC编辑器和放大器过;一会儿显示模板,但已逐渐认识到,似乎有对MVC编辑/显示模板(Html.EditorFor()和Html.DisplayFor())非常小的官方文档。我发现基本 MSDN文档只是显示技术细节(这对自己,是不是非常有帮助),但我正在寻找更多的官方如何做,有点像的这个例子的。

I have been using MVC Editor & Display Templates for a while, but have come to realize that there seems to be very little official documentation on MVC Editor/Display Templates (Html.EditorFor() and Html.DisplayFor()). I found the basic MSDN documentation just showing the technical details (which on their own, are not very helpful), but I'm looking more for an official how-to, sort of like this example.

是编辑/显示模板的详细事后的,并没有真正足够广泛用来证明更深入的官方文件?

Are Editor/Display Templates more of an afterthought, and not really widely enough used to justify more in-depth official documentation?

或者说,我是盲人,什么我要找的存在,我只是还没有找到它?

Or, am I blind, and what I'm looking for exists, I just haven't found it yet?

推荐答案

最好的文章,我已经找到了,它是:

best article that I have found for it is:

http://www.growingwiththeweb.com/2012/12/aspnet-mvc-display-and-editor-templates.html

这说明了如何创建 DisplayFor EditorFor 模板真的很好。

It explains how to create DisplayFor and EditorFor templates really well.

这篇关于官方"如何与QUOT;对于MVC编辑/显示模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆