在复选框列表中如何在Asp.net中插入链接按钮 [英] With in the checkbox list how to insert linkbuttons in Asp.net
本文介绍了在复选框列表中如何在Asp.net中插入链接按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Asp.net的checkboxlist控件中插入链接按钮/按钮。任何一个帮助。
How to insert linkbuttons/buttons with in the checkboxlist control in Asp.net.Can Any one Help this.
推荐答案
根据我的知识,你可以添加客户端侧控制。但不是服务器控件。
见下面的代码:
As per my knowledge you can add client side controls. but not server controls.
see below code :
<asp:CheckBoxList runat="server" >
<Items>
<asp:ListItem Value="1">
<a href="http://www.codeproject.com">Code Project</a>
</asp:ListItem>
</Items>
</asp:CheckBoxList>
您可以尝试使用CodeBlack建议添加超链接等替代方法。 />
查看此链接
HTTP://www.mindfiresolutions .com /简单 - 添加 - 超链接到CheckBoxList-listitems-in-ASPNET-1364.php [ ^ ]
希望这有助于
You can try alternatives like adding hyperlink as Suggested by CodeBlack.
Check this link
http://www.mindfiresolutions.com/Simple-way-to-add-hyperlinks-to-CheckBoxList-listitems-in-ASPNET-1364.php[^]
Hope this helps
这篇关于在复选框列表中如何在Asp.net中插入链接按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文