I have a series of RadDropDownList controls whose contents are dynamically assigned at form load time. Right after the form loads, and one attempts to select an item in any of the RadDropDownList controls, the control does not respond. It will display the list of items, but it is impossible to select any of them. The moving highlight bar does not appear, and the first item in the list remains selected. However, on the second attempt, and all those afterward, it works correctly. This is true and consistent for every control of this type.
I have tried various hacks to set the selected index to a different value, and then set it back, but that changed nothing.
I'm using 2010 Q3 (when I upgraded to the 2011 Q1 version the RadTreeView no longer functioned properly and I didn't have the time to figure out why. All I know is that a call to the RadTreeView.Clear() method caused a null object exception that did not happen with 2010 Q3).
The only event I monitor is the selected index changed event. I don't need it to fire if the index doesn't change, so there was no need to monitor another event.
All I'm doing on a load is to say something like:
radDropDownList.Items.Clear();
for (int i = 0; i < matrixDateCount; i++)
{
entry =
new RadListDataItem();
entry.Text =
ConversionMethods.GetDropDownListFormatDateTime(this.allMatrixDateTimes[i]);
radDropDownList.Items.Add(entry);
}
Any suggestions would be welcome.