Error!
Success!

Extending ASP.NET MVC 2 Templates - Kazi Manzur Rashid

0
kicks

Extending ASP.NET MVC 2 Templates - Kazi Manzur Rashid  (Unpublished)

One of the new features of ASP.NET MVC 2 is Templates (DisplayFor/EditorFor), Brad Wilson did a series of post which explains how the templates works, Please read it before you continue this post. Although he did an excellent job explaining the inner-details, but one thing you will notice that the object model in those examples are traversed from top to bottom or parent to child which is good for explaining the internal, but in our real application we need a bit more support. Lets take a trivial example, you are creating a create/edit screen for your Product, where each product has a associated Category and you want to show this category in a DropDownList, say we have a Product class like the....


Kicked By:
Drop Kicked By: