如何在mvc中创建自定义控件? [英] How to create Custom Controls in mvc?

查看:66
本文介绍了如何在mvc中创建自定义控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在mvc中创建自定义控件?

How to create Custom Controls in mvc?

推荐答案

用Google搜索? :(



这里有人创建了自定义控件

ASP.NET MVC中的自定义控件 [ ^ ]
Googled? :(

Here someone created a custom control
Custom controls in ASP.NET MVC[^]


MVC为您提供了完全的灵活性,可以通过继承现有控件来创建自己的控件控制。

您只需继承现有控件并根据您的选择扩展控件。
MVC gives you full flexibility to make your own controls by inheriting the existing control.
you just inherit the existing control and extend the control on your choice.


这篇关于如何在mvc中创建自定义控件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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