User control in ASP.NET MVC
I’m beginner for ASP.NET MVC , so I need to functioning create and edit using one user 开发者_StackOverflow社区control (may use 2 views)
How can I do this.
Ex : Create new Product details and Edit product details
Thz....
I would use Templates. The followings are the great blog post series by Brad Wilson:
- http://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-1-introduction.html
- http://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-2-modelmetadata.html
- http://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-3-default-templates.html
- http://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-4-custom-object-templates.html
- http://bradwilson.typepad.com/blog/2009/10/aspnet-mvc-2-templates-part-5-master-page-templates.html
Good luck!
精彩评论