在Asp.net中创建自定义控件 [英] Creating a Custom Control in a Asp.net

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

问题描述

任何人都可以告诉我如何在asp.net中创建自定义控件。

提前感谢。

Can any one tell me how to create a custom control in asp.net.
thanks in advance.

推荐答案

您的问题涵盖了一个广阔的话题有两种自定义控件:UserControl和WebControl。

首先你必须决定要实现哪一个然后开始编码......



有关如何选择和如何实施的完整参考资料,请访问此处 [ ^ ]
Your question covers a vast topic. There are 2 kind of custom ontrols : UserControl and WebControl.
First you have to decide which one you want to implement and then start coding...

A complete reference on how to choose and how to implement is available here [^]


hi,



查看以下链接。

Web用户控件1 [ ^ ]

Web用户控件2 [ ^ ]

您的第一个ASP.NET自定义控件 [ ^ ]

使用c#在asp.net 2.0中创建自定义控件 [ ^ ]



希望它有所帮助。


check below links.
Web user control 1[^]
Web user control 2[^]
Your First ASP.NET Custom Control[^]
Creating Custom controls in asp.net 2.0 with c#[^]

hope it helps.


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

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