I updated my asp.net solution from 14.1 to 15.1 using the version utility.
Now my dynamically loaded combo boxes do not expand.
The code below does not expand.
Here is my aspx code. it is in a table in an asp:panel
<ig:WebDropDown ID="WebDropDown1" runat="server" Width="280px" DropDownContainerHeight="0px" DropDownContainerMaxHeight="150px" PageSize="0" AutoFilterTimeoutMs="20" Font-Bold="True" Font-Names="Verdana" Font-Size="8pt" Height="25px" Button-Visible="True" AutoFilterResultSize="50" EnableAutoFiltering="Client" EnableViewState="False" ValueField="InstTypeID" TextField="Description"> <DropDownItemBinding TextField="Description" ValueField="InstType" KeyField="InstType" /> <DropDownItemBinding KeyField="InstType" TextField="Description" ValueField="InstTypeID" /> ig:WebDropDown>
Here is the code behind that fills the items.
// Fill the Instrument Types dropdown list WebDropDown1.Items.Add(new DropDownItem("", "")); foreach (string[] instData in from getInstrument in vDS.getInstrumentTypes() where !string.IsNullOrEmpty(getInstrument) select getInstrument.Split('-')) { WebDropDown1.Items.Add(new DropDownItem(instData[2], instData[0])); }
The code below does expand normally.
Here is the aspx code.
<ig:WebDropDown ID="ddMapType" runat="server" AutoFilterResultSize="50" AutoFilterTimeoutMs="20" AutoPostBack="false" AutoSelectOnMatch="False" Button-Visible="True" DropDownContainerHeight="0px" DropDownContainerMaxHeight="400px" EnableAutoFiltering="Client" EnableCustomValues="False" Font-Bold="True" Font-Names="Verdana" Font-Size="8pt" Height="25px" PageSize="0" Width="229px"> <Items> <ig:DropDownItem Text="Maps and Plats" Value="1" /> <ig:DropDownItem Text="Record of Survey" Value="2" /> <ig:DropDownItem Text="Road/Highway Maps" Value="3" /> Items> <ClientEvents /> ig:WebDropDown>
This page as well as all my other pages used to register their infragistics Assemblies on each page.
After update all assembly references were moved to the config file
I don't know if this makes any difference.
It then removed the references from the individual web pages.
The dropdowns are definitely populated since I can use the
down arrow to scroll through individual items in the dropdown.
Hello Rob,
Thank you for using our community.
I have tried the code that you sent us with the 2123 build for 15.1 version of our controls, but I wasn’t able to reproduce the issue. Could you please give me more details on the build you are using and is this issue browser specific? What is more if you could send me an isolated sample that replicates the issue, I will really appreciate it as it will give me the opportunity to provide you a better support.
I’ll be waiting for your answer.
Best Regards, Marina Stoyanova, Software Developer, Infragistics, Inc.
Your correct about the browser, I usually test in Chrome (version 47.0.2526.106 m).
The dropdown are not working in Chrome.
However, the dropdowns are working correctly in IE11 and FireFox.
I’m using Version=15.1.20151.2320 of the web controls.
I also down loaded 15.2 of Infragistics but it didn’t seem to make any changes to my web.config.
I will attempt to created a sample page with two dropdowns that displays the problem in Chrome.
Actually, I was looking at an existing website when I said IE11 and FireFox work.
Neither of them work in VS2013 in development mode with the new control.
Here is a stand alone example, you will need to either create a master page or add a head and body section to the aspx page.
aspx code:
<%@ Page Title="" Language="C#" MasterPageFile="~/recorderWeb.master" AutoEventWireup="True" CodeBehind="DropDownExample.aspx.cs" Inherits="PimaRecorderWeb.DropDownExample" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <asp:ScriptManager ID="sm" LoadScriptsBeforeUI="true" runat="server" EnablePageMethods="true"> </asp:ScriptManager> <div style="width: 95%; margin: auto; text-align: right;"> <br /> <h2 style="text-align: center">Drop Down Example</h2> <br /> </div> <div class="container"> <div style="height: 18px"> </div> <div style="text-align: center"> <asp:Panel ID="panSearch" Style="background-color: #465a89; width: 540px" runat="server"> <ig:WebDropDown ID="ddBookType" runat="server" Width="280px" DropDownContainerHeight="0px" DropDownContainerMaxHeight="150px" PageSize="0" AutoFilterTimeoutMs="20" Font-Bold="True" Font-Names="Verdana" Font-Size="8pt" Height="25px" Button-Visible="True" AutoFilterResultSize="50" EnableAutoFiltering="Client" EnableViewState="False" ValueField="InstTypeID" TextField="Description"> <DropDownItemBinding TextField="Description" ValueField="InstType" KeyField="InstType" /> <DropDownItemBinding KeyField="InstType" TextField="Description" ValueField="InstTypeID" /> </ig:WebDropDown> </asp:Panel> </div> <br/> <div style="text-align: center"> <asp:Panel ID="panMap" Style="background-color: #465a89; width: 540px" runat="server"> <ig:WebDropDown ID="ddMapType" runat="server" AutoFilterResultSize="50" AutoFilterTimeoutMs="20" AutoPostBack="false" AutoSelectOnMatch="False" Button-Visible="True" DropDownContainerHeight="0px" DropDownContainerMaxHeight="400px" EnableAutoFiltering="Client" EnableCustomValues="False" Font-Bold="True" Font-Names="Verdana" Font-Size="8pt" Height="25px" PageSize="0" Width="229px"> <Items> <ig:DropDownItem Text="Maps and Plats" Value="1" /> <ig:DropDownItem Text="Record of Survey" Value="2" /> <ig:DropDownItem Text="Road/Highway Maps" Value="3" /> </Items> <ClientEvents /> </ig:WebDropDown> </asp:Panel> </div> </div> <br /></asp:Content>
aspx.cs code:
using System;using System.Linq;using System.Web.UI;using Infragistics.Web.UI.ListControls;
namespace PimaRecorderWeb{ public partial class DropDownExample : Page { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { // Fill ddBookTypes item list ddBookType.Items.Add(new DropDownItem("", "")); string[] bookTypes = { "1-DEEDS", "3-MILITARY DISCHARGES", "6-MORTGAGEES", "9-DOCKET (MORTGAGE RELEASES", "13-MORTAGORS" }; foreach (string[] bookData in from getBook in bookTypes where !string.IsNullOrEmpty(getBook) select getBook.Split('-')) { ddBookType.Items.Add(new DropDownItem(bookData[1], bookData[0])); } } } }}
web.config code:
<system.web> <sessionState mode="InProc" cookieless="false" timeout="30" /> <identity impersonate="false" /> <authentication mode="Forms"> <forms name="subscriberCookie" loginUrl="~/Login.aspx" timeout="20" slidingExpiration="true" defaultUrl="~/SubscriberDocServices/DocResearch.aspx" /> </authentication> <compilation debug="true" targetFramework="4.5"> <assemblies> <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <add assembly="Infragistics45.Web.v15.1, Version=15.1.20151.2320, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" /> <add assembly="Infragistics45.WebUI.Documents.Excel.v15.1, Version=15.1.20151.2320, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" /> <add assembly="Infragistics45.WebUI.Documents.Core.v15.1, Version=15.1.20151.2320, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" /> <add assembly="Infragistics45.WebUI.Shared.v15.1, Version=15.1.20151.2320, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" /> </assemblies> </compilation> <customErrors mode="RemoteOnly" /> <httpRuntime targetFramework="4.5" /> <pages> <namespaces> <add namespace="System.Web.Optimization" /> </namespaces> <controls> <add tagPrefix="cc1" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" /> <add tagPrefix="ig" namespace="Infragistics.Web.UI.GridControls" assembly="Infragistics45.Web.v15.1, Version=15.1.20151.2320, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" /> <add tagPrefix="ig" namespace="Infragistics.Web.UI.EditorControls" assembly="Infragistics45.Web.v15.1, Version=15.1.20151.2320, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" /> <add tagPrefix="ig" namespace="Infragistics.Web.UI.NavigationControls" assembly="Infragistics45.Web.v15.1, Version=15.1.20151.2320, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" /> <add tagPrefix="ig" namespace="Infragistics.Web.UI.ListControls" assembly="Infragistics45.Web.v15.1, Version=15.1.20151.2320, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" /> <add tagPrefix="a" namespace="Infragistics.Web.UI" assembly="Infragistics45.Web.v15.1, Version=15.1.20151.2320, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" /> </controls> </pages> </system.web>
Thank you for reporting this.
I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 211537. A support case is created on your behalf with number CAS-167962-J9L7C3, so that you can be notified when the bug is fixed.
You can find your active cases under Account - Support Activity in our website. Select your ticket and go to Development Issues tab to view the status of related bugs.
Let me know if I may be of further assistance.
Hello,The fix for development issue 211537 is available in the latest service release which can be downloaded from the My Keys and Downloads page.
That has indeed fixed the issue.
Thank you.