Monday, February 8, 2010

My question is related to ASP.NET CONTROL [DROP DOWN LIST]?

I want to obtain a same drop down list as one can see in MS-WORD for font size.


in which u can also select the items that r not in the list by typing.


for example font sizes 12 and 14 are given in the list


but if u want to use font size 13, then u can just type and hit Enter key





i would b very thankful to people who would answer it





regards,


Ahsan AshfaqMy question is related to ASP.NET CONTROL [DROP DOWN LIST]?
You have a couple of options:





1) You can put a textbox over the dropdownlist and make the selected item show up in the textbox for editing. Then when you press an update button, you would repopulate the dropdownlist with the revised (or new) item(s).





2) You can create a custom DDL control, as found here: http://www.codeproject.com/KB/custom-con鈥?/a>





3) You can use DHTML and a DDL, as found here:


http://www.codeproject.com/KB/aspnet/Edi鈥?/a>





4) You can use a ListBox, as found here:


http://www.c-sharpcorner.com/UploadFile/鈥?/a>





One of these options should do what you want.

No comments:

Post a Comment