如何使用复选框自定义控件创建下拉列表 [英] how to create a dropdownlist with checkboxes custom control
本文介绍了如何使用复选框自定义控件创建下拉列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建一个自定义控件,它将是一个使用复选框的多选选项的下拉列表。这应该可以安装到asp.net中的标准工具箱。
i不知道从哪里开始。我应该使用asp.net服务器控件项目还是类库?
我是非常新的,所以如果有人能提供一步一步的程序,将会有所帮助。我将通过谷歌找到并学习代码我只需要知道我应该在哪里开始以及所有要遵循的内容
i want to create a custom control which will be a dropdown with multi select option using checkboxes.This should be installable to the standard toolbox in asp.net.
i dont know where to start on this. Should i use asp.net server control project or a class library??
i am very new this so it will be helpful if anyone could provide step by step procedures. i will find and learn code through google i just need some idea where i should start and what all to follow
推荐答案
CP将在这种情况下帮助你。关注:
您的第一个ASP.NET自定义控件 [ ^ ]
建立一个ASP.NET自定义Web控件:一个文本框和验证器 [ ^ ]
另外:
解决方法:创建Web自定义控件 [ ^ ]
ASP.NET C#中的自定义控件 [ ^ ]
ASP.NET - 自定义控件 [ ^ ]
CP will help you in that case.Follow:
Your First ASP.NET Custom Control[^]
Building an ASP.NET custom web control: a textbox and validator in one[^]
Also:
Walkthrough: Creating a Web Custom Control[^]
Custom Control in ASP.NET C#[^]
ASP.NET - Custom Controls[^]
这篇关于如何使用复选框自定义控件创建下拉列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文