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
60
WebDropDown displays "System.Object[]" for all Items
posted

This is my first time using the WebDropDown control.  I am setting the DataSource to a DataReader, setting the TextField and ValueField to column names, and then binding the DataSource.  However, when the page is loaded, the items all show up with "System.Object[]" as the text for each item. 


webDropDownPartnerTypes.DataSource = myDataReader

webDropDownPartnerTypes.DisplayMode = Infragistics.Web.UI.ListControls.DropDownDisplayMode.DropDownList

webDropDownPartnerTypes.TextField = "PA_DESC"

webDropDownPartnerTypes.ValueField = "PA_TYPE"

webDropDownPartnerTypes.DataBind()


Those two columns are the only columns returned.  Am I missing something?