I have bound a DataSet to the WebDropDown and that is working ok. I can even set the SelectedValue or SelectedItemIndex. However, If I click the arrow in the WebDropDown it does not expand. Am I not setting a specific property?
<ig:WebDropDown ID="WebDropDown1" runat="server" Width="532px" AutoPostBack="True" DropDownAnimationDuration="200" DropDownContainerMaxHeight="200px" EnableLoadOnDemand="True"><AutoPostBackFlags SelectionChanged="On" ValueChanged="On" /></ig:WebDropDown>
When I view the PageSource, I can see the 12 values for the DropDownList. It is just not expanding for some reason. I have changed my code to the following but it is still the same result...
<ig:WebDropDown ID="WebDropDown1" runat="server" style="Z-INDEX: 243; left: 144px; position: absolute; TOP: 255px" Width="600px" TextField="description" DropDownContainerHeight="200px" EnableViewState="true" EnableDropDownAsChild="false" DropDownContainerWidth="200px" DropDownAnimationType="EaseOut" EnablePaging="True" PageSize="12" StyleSetName="Default" StyleSetPath="../ig_res/"></ig:WebDropDown>
Code behind:
Me.WebDropDown1.DataSource = myDataSetName.Tables(0)Me.WebDropDown1.TextField = "description"Me.WebDropDown1.ValueField = "ID"Me.WebDropDown1.DataBind()
I wanted to add one last thing here. Here is my refernces in the aspx.
<%@ Register Assembly="Infragistics2.Web.v10.3, Version=10.3.20103.2105, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.Web.UI" TagPrefix="ig" %>
<%@ Register Assembly="Infragistics2.Web.v10.3, Version=10.3.20103.2105, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.Web.UI.ListControls" TagPrefix="ig" %>
I have upgraded to VS2010 with the Infragistics4.Web.v11.1, Version=11.1.20111.2036 controls and it now works as expected.