在MVC2 ASP.NET中创建部分视图 [英] Creating partial views in MVC2 ASP.NET

查看:111
本文介绍了在MVC2 ASP.NET中创建部分视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何为Edit操作创建局部视图.我尝试创建但未调用局部视图.我在Views文件夹的公共文件夹中创建了它.请使用类的示例告诉我.

请帮助我,尽快答复.

Ancie

I would like to know how to create partial views for Edit action.I tried creating but the partial view is not being called.I created it in a common folder in the Views folder.Please tell me with an example using classes.

kindly help me,reply as soon as possible.

Ancie

推荐答案


http://www.mikesdotnetting.com/Article/105/ASP.NET-MVC-Partial-Views-and-Strongly-Typed-Custom-ViewModels [ http://www.gregshackles.com/2010/07/dynamic -views-in-asp-net-mvc-2/ [
Hi ,
http://www.mikesdotnetting.com/Article/105/ASP.NET-MVC-Partial-Views-and-Strongly-Typed-Custom-ViewModels[^]

http://www.gregshackles.com/2010/07/dynamic-views-in-asp-net-mvc-2/[^]

link will help you


这篇关于在MVC2 ASP.NET中创建部分视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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