I have the TextField set to FullName and my ValueField set to PersonID. Then I do my DataBind.
When the page first comes up and I don't type anything and just scroll to myself I cget the correct SelectValue of 1. If I type in my name instead and then click on my name, the SelectdValue is 0 now.
Obviously this is unexpected behavior and is driving be batty. Am I doing something wrong?
Hi,
How / where do you check what the selected value is? Do you have EnableAutoFiltering set to Server or Client?
I have tried your scenario on a sample of mine and everything works as expected.
I am attaching this sample for your reference. Please let me know if i can help with anything else.
Thanks,
Angel
ddPersonList.DataSource = objPersonCore.ReturnPersonList(
)ddPersonList.TextField = "FullName"ddPersonList.ValueField = "PersonID"ddPersonList.DataBind()
I check the SelectedValue both on an update panel and also when they click the save button. I have tried both Server and Client filtering. Without fail, if the page loads and I scroll to find my name without typing, I get the correct SelectedValue. If I use the filter type ahead, I get 0 every time.