天天看點

ASP.net 伺服器控件: DropDownCheckBoxList 下拉多選框,更新

先上效果圖:

ASP.net 伺服器控件: DropDownCheckBoxList 下拉多選框,更新
ASP.net 伺服器控件: DropDownCheckBoxList 下拉多選框,更新
ASP.net 伺服器控件: DropDownCheckBoxList 下拉多選框,更新

使用方法:工具>>選擇工具箱>>浏覽>>選擇DevControl.dll >>确定

ASP.net 伺服器控件: DropDownCheckBoxList 下拉多選框,更新
ASP.net 伺服器控件: DropDownCheckBoxList 下拉多選框,更新

工具欄中正常中就多了一個控件

ASP.net 伺服器控件: DropDownCheckBoxList 下拉多選框,更新

下載下傳:

注:使用此控件需要引用JQuery 

補充:有人問内容太多了長的不見底怎麼出現滾動條,其實頁面也一個樣式就可以解決了

div#MainContent_DropDownCheckBoxList1_div {

            height: 100px;

            overflow: scroll;

            overflow-x: hidden;

        }

這裡的MainContent_DropDownCheckBoxList1_div 對應html中下拉容器的id

ASP.net 伺服器控件: DropDownCheckBoxList 下拉多選框,更新
ASP.net 伺服器控件: DropDownCheckBoxList 下拉多選框,更新
ASP.net 伺服器控件: DropDownCheckBoxList 下拉多選框,更新