Click here to Skip to main content
15,890,845 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Someone say that I can use javascript,but the datasource of dropdownlist is in the database,and it is harder to use it in webform than winform!
How can I do that?Does anyone has some examples?Thank you!
Posted

1 solution

You can try out DropdownExtendar of AjaxToolkit controls[^] : The displayed menu is merely another panel or control. Put a treeview there.

Other option is to have a user/custom control, combining textbox, image & treeview to have a feel of dropdown having a treeview.
Example here: Tree View in Dropdownlist[^]
 
Share this answer
 
Comments
PEIYANGXINQU 30-May-12 22:09pm    
in this web http://technoblizzard.blogspot.in/2007/09/tree-view-in-dropdownlist.html,can I directly set the datasource of dropdownlist to be treeview?
Sandeep Mewara 31-May-12 0:41am    
I would like you to read the full article and find that by yourself.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900