This is a migrated thread and some comments may be shown as answers.

IE 9 ListBox Bug Information

5 Answers 71 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Ramjet
Top achievements
Rank 1
Ramjet asked on 13 Aug 2011, 04:34 PM
Hello,

For anyone out there using IE 9 and version 2010.1.519.35 ASP .NET I think I may have found a bug. Now I am not sure if this is a Telerik or Msoft issue but it is there either way. The drag and drop capability was not working between the two list boxes. Had me pulling my hair out till I tried other IE versions along with Safari and Firefox. The code below worked in every way except for drag and drop and the Server side API event were not firing.

<td>
     <telerik:RadListBox ID="AvailableRolesListBox" runat="server" Height="200" DataTextField="DisplayName" DataValueField="RoleId" CssClass="AvailableRolesListBox" SelectionMode="Multiple" AllowTransfer="true" TransferToID="SelectedRolesListBox" OnTransferred="RadListBox_Transferred" AutoPostBackOnTransfer="true" EnableDragAndDrop="true" AllowTransferOnDoubleClick="true" OnDropped="RadListBox_Dropped" Skin="WebBlue" />
</td>
 
<td>
       
</td>
                     
<td>
     <telerik:RadListBox ID="SelectedRolesListBox" runat="server" Height="200" DataTextField="DisplayName" DataValueField="RoleId" CssClass="SelectedRolesListBox" SelectionMode="Multiple" AllowTransfer="true" TransferToID="AvailableRolesListBox" OnTransferred="RadListBox_Transferred" AutoPostBackOnTransfer="true" EnableDragAndDrop="true" AllowTransferOnDoubleClick="true" OnDropped="RadListBox_Dropped" Skin="WebBlue" />
</td>


As I mentioned earlier I don't know if this is a problem with IE or Telerik and I know that Telerik has a newer release of the ASP .NET controls and hopefully by Q4 I can get this very large site upgraded to them. This post is mostly to help anyone out there hitting the same wall and Goggling for help.

JB

5 Answers, 1 is accepted

Sort by
0
Frederico Fernandes
Top achievements
Rank 1
answered on 12 Oct 2011, 03:51 PM
Hi,
I have the same problem. Everything is working fine in firefox and chrome, but I when I try it in IE9 it isn´t working.
There is any solution?
0
Dimitar Terziev
Telerik team
answered on 17 Oct 2011, 12:17 PM
Hello Frederico,

The experienced problems are fixed in the current official version of the controls. Try to upgrade if possible.

Greetings,
Dimitar Terziev
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
federic batista
Top achievements
Rank 1
answered on 10 Nov 2011, 03:00 PM
Hi there, 

I have 2 Radlistbox one is using a datasource and the other is empty, i use radlistbox1 for transferring items to radlistbox2 , then i have to get all the items values from radlistbox2 in server-side. Its working fine on firefox and chrome but on internet explorer when i loop the radlistbox2 on server side the items.count is 0


Here is my code

<script type="text/javascript">
 
                var radListBox1;
                var radListBox2;
                function OnClientLoad(sender) {
                    radListBox1 = sender;
                }
                function OnClientLoad2(sender) {
                    radListBox2 = sender;
                }
            
            </script>

 
<table>
                                       <tr>
                                       <td align="left">
                                        <telerik:RadListBox runat="server" OnClientLoad="OnClientLoad" PersistClientChanges="true"
                                                   DataTextField="ZONA" DataValueField="ID_ZONA" ID="catIzquierda" AllowTransfer="True"
                                                   ButtonSettings-ShowTransferAll="false" DataSourceID="dsZona" ButtonSettings-Position="right"
                                                   ButtonSettings-VerticalAlign="Middle" Height="100px" Width="200px" TransferToID="catDerecha">
                                               </telerik:RadListBox>
                                       </td>
                                       <td align="left" style="border:0;">
                                         
                                               <telerik:RadListBox PersistClientChanges="true" runat="server" ID="catDerecha" OnClientSelectedIndexChanged="OnClientSelectedIndexChanged"
                                                   TabIndex="1" OnClientLoad="OnClientLoad2" Height="100px" Width="180px">
                                               </telerik:RadListBox>
                                       </td>
                                       </tr>
                                       </table>

And here is the server side code.

For Each item As RadListBoxItem In catDerecha.Items
         If idsReference = "" Then
             idsReference &= item.Value
         Else
             idsReference &= "," & item.Value
         End If
     Next

Is something wrong with that code?

Thanks.


0
Princy
Top achievements
Rank 2
answered on 11 Nov 2011, 11:04 AM
Hello Federic,

I have tried the same but no avail. I am using version 2011, 2, 915, 35. So one suggestion is you can upgrade the telerik control's version.
Updating RadControls for ASP.NET AJAX to another version or license

Thanks,
Princy.
0
federic batista
Top achievements
Rank 1
answered on 11 Nov 2011, 07:04 PM
I ve found the solution, i had a second form at the bottom of the page, i took it off and it works perfect.
Tags
ListBox
Asked by
Ramjet
Top achievements
Rank 1
Answers by
Frederico Fernandes
Top achievements
Rank 1
Dimitar Terziev
Telerik team
federic batista
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or