在GridView中使用下拉菜单 [英] Use of dropdown in gridview
本文介绍了在GridView中使用下拉菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好朋友,
我有带有列(noticeid,comment,brand)
的网格
编辑表格时,如果是品牌,我想显示下拉菜单.
仅当单击编辑链接时,下拉列表才应该可见.
任何的想法 ?有什么提示吗?
在此先感谢
Hello friends,
I have grid with columns (noticeid,comment,brand)
when edit the grid, in case of brand i want to show dropdown.
Dropdown should be visible only when edit link is clicked.
Any idea ? any hint ?
Thanks in advance
推荐答案
你好
尝试以下链接可能会对您有所帮助
在ASP.NET中编辑各个GridView单元格 [
Hello
try following link it may help you
Edit Individual GridView Cells in ASP.NET[^]
Thanks
Sanjeev
你好
也尝试一下..
带有文本框,复选框,单选按钮和下拉列表的可编辑Gridview [
Hello
Try this as well..
Editable Gridview with Textbox, CheckBox, Radio Button and DropDown List[^]
sanjeev
您可以使用EditItemTemplate
参考: http://msdn.microsoft.com/en-us/library/ms972948.aspx [ ^ ]
You can useEditItemTemplate
Ref:http://msdn.microsoft.com/en-us/library/ms972948.aspx[^]
这篇关于在GridView中使用下拉菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文