Link to home
Start Free TrialLog in
Avatar of Webboy2008
Webboy2008

asked on

asp.net

http://us.instantoffices.com/no-results.aspx?search=diamond+bar%2c+ca

Check out above url. If you type in city textbox, it will let you type or select. This is exactly what I need. Can you show me how to do that in asp.net/c#?

Thanks
Avatar of Maximus5684
Maximus5684
Flag of United States of America image

How is the drop-down currently populated (the one you have now)? Is it databound or are the items added arbitrarily? Do you need the item that the user enters to be added to the drop-down or just entered for form submission?
Avatar of Webboy2008
Webboy2008

ASKER

the data in the drop down will be from wcf.
yes, user should enter something for research.
ASKER CERTIFIED SOLUTION
Avatar of Maximus5684
Maximus5684
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi..
you can use data template.
step 1:
put TextBox in data template & give key name.
step 2:
write another data template,
in data template first take drop down box.
inside Drop Down Box put  ListBox & assign your data to the ListBox .
now you get one property like display member in Drop Down Box, give the key name to this property (Which you have given in step 1).
step 3 :
Do your search based on the TextBox's text.

Hope this is help full to you..
Thanks.
need sample codes...