什么是自定义控件?以及如何实现自定义控件? [解决了] [英] What is an custom control? and how can we implement an custom control? [Solved]

查看:118
本文介绍了什么是自定义控件?以及如何实现自定义控件? [解决了]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

共有三个控件,即服务器控件,用户控件和自定义控件.
servercontrols是asp控件,而usercontrols是可以使用多个usercontrols或html elements/
制成的控件. 那么什么是自定义控件?

There are three controls,Server controls, usercontrols and custom controls.
servercontrols are the asp controls, and usercontrols are the controls that can be made using more than one usercontrols or html elements/
What is custom control then? what is the use of such controls?

推荐答案

自定义控件没有任何aspx,它只是作为一个类编写的.如果需要扩展现有控件,则可以从中派生一个类,该类将是自定义控件.
A custom control does not have any aspx, it''s just written as a class. If you need to extend an existing control, you''d derive a class from it and that would be a custom control.


请查看链接 ^ ].


这篇关于什么是自定义控件?以及如何实现自定义控件? [解决了]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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