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
425
Drop down lists within a WebExplorerBar templates don't function in IE or Chrome
posted

Using IE 9.0.8112.16421 and Chrome 19.0.1084.56, when placing an asp DropDownList within a template of an ExplorerBarItem which is contained within an ExplorerBarGroup which belongs to a WebExplorerBar the DropDownList doesn't work (clicking the drop down arrow doesn't display the list of options).

FireFox 12.0 appears to work correctly and changing the Document Mode of IE from IE9 standards to IE7 or IE8 standards also fixes the problem.

We put together a simple example which shows the reported issue. 

 

<%

 

@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" nherits="Test" %> 

<!

 

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

<

 

 

script language="c#" runat="server">

private void Page_Load(object sender, EventArgs e) { 

 

 

 

if(!Page.IsPostBack){

 

 

 

var ddl = TestWebExplorerBar.Groups[0].Items[0].FindControl("TestDropDownList") as System.Web.UI.WebControls.DropDownList;

ddl.Items.Add(

 

new ListItem("A"));

ddl.Items.Add(

 

new ListItem("B"));

ddl.Items.Add(n

 

ew ListItem("C"));

ddl.Items.Add(

 

new ListItem("D"));

}

 

 

</

 

 

script> 

<

 

 

html xmlns="http://www.w3.org/1999/xhtml">

<

 

 

head runat="server">

<title></title>

</

 

 

head>

<

 

 

body> 

 

 

 

<form id="form1" runat="server">

 <div style="width:250px"> 

 

 

 

<webcnx:ScriptManager ID="ScriptManager" runat="server" />

 

 

 

<ig:WebExplorerBar ID="TestWebExplorerBar" runat="server" > 

 

 

 

<Groups> 

 

 

 

<ig:ExplorerBarGroup Text="Test Explorer bar"> 

 

 

 

<Items>

 

 

 

<ig:ExplorerBarItem>

 

 

 

<Template> 

 

 

 

<asp:DropDownList ID="TestDropDownList" runat="server" Height="20px" Width="100%" /> 

 

 

 

</Template> 

 

 

 

</ig:ExplorerBarItem> 

 

 

 

</Items> 

 

 

 

</ig:ExplorerBarGroup> 

 

 

 

</Groups> 

 

 

 

</ig:WebExplorerBar> 

 

 

 

</div> 

 

 

 

</form>

</body>

</

 

 

html> 

We are using version 12.1.20121.1005.

Any ideas?

Thanks.

  • 37874
    posted

    Hello naspence,

     

    I have investigated your issue and, 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 115336.  The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution. 

     

    I will leave this case open and update you with any new information after the review.  You can also continue to send updates to this case at any time.

     

    You can view the status of the development issue connected to this case by going to the “Account” tab on our website, hovering to the "My Support Activity" dropdown and selecting the "Development Issues" tab. 

     

    Please let me know if you need more information.