asp.net:组合框或列表框加复选框
我需要这样的解决方案:
http://demos. telerik.com/aspnet-ajax/combobox/examples/functionity/checkboxes/defaultcs.aspx
但是,我需要用户能够在此处添加条目。
这样的控制已经存在吗?
它可以是 jquery 或 asp.net,
它也不必是组合框,它可以是列表框。我需要让每个项目旁边都有一个复选框,并且能够为每个条目添加评论。
i need a solution like this:
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/checkboxes/defaultcs.aspx
however, i need the user to be able to add entries in here.
does such a control already exist?
it can be either jquery or asp.net
it also does not have to be a combobox, it can be a listbox. i need to have every item have a checkbox next to it and be able to add a comment for each entry.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
看一下 DevExpress 组件供应商的 ASPxGridLookup 控件。
ASPxGridLookup 组件允许实现多选 DropDown 功能:
http://demos.devexpress .com/ASPxGridViewDemos/ASPxGridLookup/MultiSelect.aspx
http://www.devexpress.com/example=E3467
http:// /codecentral.devexpress.com/E3467/
通过嵌入的 ASPxGridView 对象具有编辑功能:
http://demos.devexpress.com/ASPxGridViewDemos/GridEditing/EditModes.aspx
Take a look at the ASPxGridLookup control from the DevExpress component vendor.
The ASPxGridLookup component allows the implementation of the multi-select DropDown functionality:
http://demos.devexpress.com/ASPxGridViewDemos/ASPxGridLookup/MultiSelect.aspx
http://www.devexpress.com/example=E3467
http://codecentral.devexpress.com/E3467/
with editing capabilities via the embedded ASPxGridView object:
http://demos.devexpress.com/ASPxGridViewDemos/GridEditing/EditModes.aspx
参考:带有多选选项的下拉列表?
带有复选框的多个下拉列表....在下面的链接中结帐...
在此处结帐演示页面...
http://download.ysatech。 com/ASP-NET-Multiple-Selection-DropDownList/ASP-NET-Multiple-Selection-DropDownList.aspx
博客页面此处....
http://blog.ysatech.com/post/2009/09/09/ASP-NET-Multiple-Selection-DropDownList-with-AJAX-HoverMenuExtender.aspx
http://www.codeproject.com/KB/user-controls/MultiSelectDropdownList.aspx
Ref : DropdownList with Multi select option?
Multiple dropdownlist with checkbox....checkout below link...
checkout demo page here...
http://download.ysatech.com/ASP-NET-Multiple-Selection-DropDownList/ASP-NET-Multiple-Selection-DropDownList.aspx
Blog page here....
http://blog.ysatech.com/post/2009/09/09/ASP-NET-Multiple-Selection-DropDownList-with-AJAX-HoverMenuExtender.aspx
http://www.codeproject.com/KB/user-controls/MultiSelectDropdownList.aspx
对我来说,听起来使用 ListBox 运行可能会更好。 Telerik 提供 RadListBox ,它允许您拥有如下所示的复选框 这里。
此外,您可以允许进行编辑,例如,双击 此论坛帖子。
最后,如果您还想显示评论,那么您可以使用 ItemTemplate 为每个 RadListBoxItem 定义自定义布局,并允许用户编辑主字段和注释字段。
这应该涵盖您需要的一切。
To me it sounds like it might be better for you to run with a ListBox. Telerik offers the RadListBox, which allows you to have checkboxes as seen here.
Additionally, you could allow for edits upon, for example, double-click as is displayed in the source code attached to this forum post.
Finally, if you want to also display the comments then you could use an ItemTemplate to define a custom layout for each RadListBoxItem and allow the user to edit both the main and comment fields.
That should cover everything that you need.