views:

36

answers:

1

Brad Wilson states that "The default templates in ASP.NET MVC are done in code." In that post, he recreates the functionality as ASCX files. Where can the code for the actual default templates be found?

+2  A: 

As Stated in the link you gave :

The default templates in ASP.NET MVC are done in code, but here I’ve replaced their functionality as .ascx files, to illustrate what they do (and give you a starting point for customizing your own versions of all these templates).

So if you look through the source of Asp.Net MVC2 you'll find the implementation of those template in the DefaultEditorTemplates class and the DefaultEditorTemplates located in the Html folder

moi_meme