Hi folks,
I use the ItemTemplate and put a DropDownList in the RadListBox. Meanwhile I set the EnableDragAndDrop to true for the RadListBox. Then the DropDownList does not work in IE9 and Chrome. However It works in FireFox, IE8, IE7. Did anyone encounter the same problem and know how to solve it? Any help would be appreciated.
Chris
I use the ItemTemplate and put a DropDownList in the RadListBox. Meanwhile I set the EnableDragAndDrop to true for the RadListBox. Then the DropDownList does not work in IE9 and Chrome. However It works in FireFox, IE8, IE7. Did anyone encounter the same problem and know how to solve it? Any help would be appreciated.
Chris
4 Answers, 1 is accepted
0
Hi Chris,
I tried to replicate your scenario, but wasn't able to reproduce the issue. Please include the markup for the listbox controls, as well as any code-behind related to them, so that we can reproduce the problem locally and provide you with a proper solution.
Greetings,
Bozhidar
the Telerik team
I tried to replicate your scenario, but wasn't able to reproduce the issue. Please include the markup for the listbox controls, as well as any code-behind related to them, so that we can reproduce the problem locally and provide you with a proper solution.
Greetings,
Bozhidar
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Chris
Top achievements
Rank 1
answered on 23 Jan 2012, 05:24 PM
Hi Team,
Thank you for your response. I just create a empty web form and make it simple to demonstrate the problem.
The code is like the following,
in aspx:
in code-behind:
Thank you for your response. I just create a empty web form and make it simple to demonstrate the problem.
The code is like the following,
in aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ListBoxIssue.aspx.cs" Inherits="test_ListBoxIssue" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <asp:ScriptManager ID="scriptManager1" runat="server"></asp:ScriptManager> <div> <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> <div> <telerik:RadListBox ID="lbSelected" runat="server" Width="300" Height="500" EnableDragAndDrop="true" AllowReorder="true" ButtonSettings-ShowReorder="false"> <ItemTemplate> <span> <asp:Label ID="lblText" runat="server" Text="Hello"></asp:Label> <asp:DropDownList ID="ddlDefaultOptions" runat="server"> <asp:ListItem Text="1" Value="1"></asp:ListItem> <asp:ListItem Text="2" Value="2"></asp:ListItem> <asp:ListItem Text="3" Value="3"></asp:ListItem> <asp:ListItem Text="4" Value="4"></asp:ListItem> <asp:ListItem Text="5" Value="5"></asp:ListItem> </asp:DropDownList> </span> </ItemTemplate> </telerik:RadListBox> </div> </telerik:RadAjaxPanel> </div> </form></body></html>in code-behind:
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using Telerik.Web.UI;public partial class test_ListBoxIssue : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { lbSelected.Items.Add(new RadListBoxItem()); lbSelected.Items.Add(new RadListBoxItem()); }}0
Accepted
Hi Chris,
Thank you for reporting this to us.
As it appears, it is a bug in the RadListBox and I've reported it to our developers team.
However there is a simple workaround for this issue, that works on all the browsers I've tested it so far - you can use RadComboBox instead of the DropDownList.
Regards,
Bozhidar
the Telerik team
Thank you for reporting this to us.
As it appears, it is a bug in the RadListBox and I've reported it to our developers team.
However there is a simple workaround for this issue, that works on all the browsers I've tested it so far - you can use RadComboBox instead of the DropDownList.
Regards,
Bozhidar
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Chris
Top achievements
Rank 1
answered on 24 Jan 2012, 09:43 PM
Hi Bozhidar,
Your workaround is nice. The RadComboBox works well for me.
Thanks,
Chris
Your workaround is nice. The RadComboBox works well for me.
Thanks,
Chris