Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2265
Performance and Filtering
posted

Hey all,

I'm looking at binding a DataTable to the drop down.  There are 2 columns (Code and Name) in the DataTable and 1,400+ rows.

Ideally, I want to be able to search as you type.  But it seems to take forever to do it.  I am binding in code to do this when the page is loaded using the following simple 3 lines:

WebDropDown1.DataSource = ds.Tables(0)
WebDropDown1.TextField =
"Code"
WebDropDown1.DataKeyFields = "Code"

Is there a fast way to do this when running (or any suggestions) ?

Can you display Code and Name in the dropdown portion?  I've looked at the WebCombo which pretty much displays what I want but is slow also - and I can't see how to implment search as you type.

Any pointers would be good thanks.