This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

WebUI DropDownList control in v7.1.1

Since upgrading from 7.0.2 to 7.1.1, the DropDownList control has changed from System.Web.UI.WebControls.DropDownList to VI.WebRuntime.WebControls.DropDownList 

This VI implementation does not appear to implement a .Items property

How would I go about iterating through the DropDownList? The code snippet below no longer works after the upgrade

int tempI = 0;

foreach (System.Web.UI.WebControls.ListItem ci in ComboBox.Items) {

       Logger.Info(String.Format("Item {0} with a value of {1} and an index of {2}", ci.Text, ci.Value, tempI));

       tempI++;

}