ASP.NET MVC的自定义控件 [英] ASP.NET MVC Custom Controls

查看:111
本文介绍了ASP.NET MVC的自定义控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它是安全的,说的ASP.NET MVC的自定义控件是最次的只是局部的看法?如果是这样的话,我猜这是始终保持这些控件的实现应用程序规定的行为(通过控制器code)?

Is it safe to say that custom controls with ASP.NET MVC are most times just partial views? And if that's the case, I'm guessing it's always up to the implementing application to dictate the behavior (through controller code) of these controls?

我已经做了一些搜索,并没有对ASP.NET MVC的自定义控件几乎没有资源(可能是,或我失踪与我的谷歌技能标记)。

I have done a bit of searching, and there is almost no resources on ASP.NET MVC custom controls (either that, or I'm missing the mark with my Google skills).

推荐答案

有是关于形式佣工(用于视图辅助方法)asp.net的MVC的网站很好的文章。有解释了如何创建自定义的helper方法

There is nice article on asp.net mvc website regarding form helpers (helper methods for views). there is explained how to create custom helper method

Link是 http://www.asp.net/ MVC /教程/创建,自定义的HTML佣工-CS

这篇关于ASP.NET MVC的自定义控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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