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

RadListbox "IE9" problem

1 Answer 64 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Somnath
Top achievements
Rank 1
Somnath asked on 07 Oct 2011, 10:23 AM
Hi,

I am using RadListbox in my page.in IE8 its works fine but in IE 9 all listbox items dissappears.
I have attached sceenshot .
I am using following markup.     
            
 <telerik:RadListBox ID="rlReportGroupList" runat="server" AllowReorder="false" AllowTransfer="true"
ButtonSettings-VerticalAlign="Middle" EnableDragAndDrop="true" Height="200px"
 SelectionMode="Multiple" Style="text-align: left" TransferToID="rlSelectedGroupList"
   OnClientTransferred="ChangeWithoutLoadingImage" Width="200px" Sort="Ascending" Culture="<%$ Resources:Culture%>">
 <HeaderTemplate>
  <b>
  <asp:Literal ID="headerGroupList" runat="server" Text="<%$ Resources:headerGroupList %>" />
      </b>
   </HeaderTemplate>
 </telerik:RadListBox>
<telerik:RadListBox ID="rlSelectedGroupList" runat="server" EnableDragAndDrop="true"
 Height="200px" SelectionMode="Multiple" Style="text-align: left" Width="170px"
  Sort="Ascending" Culture="<%$ Resources:Culture%>">
 <HeaderTemplate>
  <b>
<asp:Literal ID="headerSelectedGroups" runat="server" Text="<%$ Resources:headerSelectedGroups %>" />
  </b>
   </HeaderTemplate>
 </telerik:RadListBox>

Please suggest solution for the above

1 Answer, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 10 Oct 2011, 07:47 AM
Hello Ankit,

It is a known issue.To avoid it please set a header and a footer template.A working sample is shown below
aspx:
<telerik:RadScriptManager runat="server" ID="RadScriptManager">
        </telerik:RadScriptManager>
        <telerik:RadListBox ID="RadListBox1" runat="server" Height="400px" Width="250px">
            <ButtonSettings TransferButtons="All"></ButtonSettings>
            <Items>
                <telerik:RadListBoxItem runat="server" ListBox="RadListBox1" Text="gssdf" Value="fg89fgf" />
                <telerik:RadListBoxItem runat="server" ListBox="RadListBox1" Text="565" Value="fg787fgf" />
                <telerik:RadListBoxItem runat="server" ListBox="RadListBox1" Text="gs676sdf" Value="f787gfgf" />
                <telerik:RadListBoxItem runat="server" ListBox="RadListBox1" Text="gs565sdf" Value="fg87fgf" />
            </Items>
            <HeaderTemplate>
                <input id="chkALLExpr" type="checkbox" onclick="ChkALLExpressions();" />
                Select ALL
            </HeaderTemplate>
             <FooterTemplate>
             <input id="cmdRemoveExpr" type="button" value="Delete" onclick="cmdDeleteExpression_Click();" />
             <input id="cmdNewExpression" type="button" value="New Expression" onclick="cmdNewExpression_Click();" />
         </FooterTemplate>
        </telerik:RadListBox>
For more information check the following thread
In IE 9 RADListBox not showing items when I have headertemplate and height specified.

Thanks,
Princy.
Tags
ListBox
Asked by
Somnath
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or