This item may be closed and deleted, please and thank you. I kept working on this and discovered an erroneous .select earlier in the page load event that was setting the selected item to an incorrect item.
Sorry to kluge up the works with a useless forum entry.
I have a combo box (current version) that I am populating at Page Load. The combo box definition is:
The code used to populate the combo box is:
SqlDataReader = cmd.ExecuteReader()
RCBI.Text = Convert.ToString(reader(sFieldToPopulate))
RCBI.Value = reader(
oValueToMatch = RCBI.Value
Here are the pertinent facts:
(1) The combo box is being populated correctly as far as the total entries are concerned. See attached graphic.
(2) I have stepped through the code and the "RCBI.Selected = True" line of code is being executed ONCE during page load and it is being executed for the correct RCBI.Value (key value of 128). But the first item in the list is showing (the one saying "Select from this list"). Refer to the second uploaded graphic.
Why isn't the item selected (actually the record for key value 128, United States) being displayed in the combo box display area after page load?
Thanks in advance for your assistance? Let me know if you need additional information and I will happily comply!