Click here to Skip to main content
15,892,575 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I googled it so many i didnt get the solution because in my site i loaded so many values in dropdownlist scroll bar coming large so i need the editabe drop downlist using html only mainly or asp.net without using javascript or jquery or css
Posted
Updated 15-Nov-14 4:32am
v2

There is no editable dropdown (select in HTML) in HTML. However, for clarity the ASP.NET exists on the server only, once the web page is to be sent to the client the code is converted to HTML markup browsers manipulate and work with HTML not ASP.NET.

JavaScript would be required to create dynamic website, and only and only JavaScript can enable such things. If you still want to create a dropdown that is editable, I can give a clue, you should place an input tag over the dropdown to make it "editable" and as soon as the user submits or presses enter. Remove that input element from (above the) the dropdown and show a simple dropdown box.
 
Share this answer
 
You can't do an editable drop down list in "straight" HTML. And you don't want to do it server side...

You need javascript or jQuery (IIRC the later includes one?)
 
Share this answer
 

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