首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

DataList 里的DropDownList,该如何处理

2013-03-12 
DataList 里的DropDownList1.在DataList里HeaderTemplate里放DropDownList ,当DropDownList选中改变时重

DataList 里的DropDownList
DataList 里的DropDownList,该如何处理

1.在DataList里<HeaderTemplate>里放DropDownList ,当DropDownList选中改变时重新查询数据

2.放上DropDownList之后,DropDownList所在的列变宽了,设置<td>和DropDownList的宽度都不管用

DataList 里的DropDownList,该如何处理
[解决办法]
DropDownList 生成的啥标签?直接用css 控制他的width属性都不怎么管用吗?
[解决办法]


那是因为DropDownList数据撑开了此列。
你设置下DropDownList的样式,有个固定长度,展开显示的长度。现在在外面,也无法给你准确代码。

热点排行