Problem with RadFormDecorator - Multiple selection in ASP ListBox

2 posts, 0 answers
  1. kiran
    kiran avatar
    33 posts
    Member since:
    Aug 2008

    Posted 26 Mar 2010 Link to this post

    Hi,
          I noticed a strange problem with ASP ListBox when RadFormDecorator is included in page. The multiple selection mode for ASP ListBox works fine when there is no RadFormDecorator in page. But when I included RadFormDecorator in page the ASP ListBox selection mode turns to Single mode though I have explicitly mentioned SelectionMode as Multiple. However, RadListBox works fine in both the cases.
          This is with respect to RadControls 2009 Q3 version.

          Please take a look at this issue and any solution would be very helpful to me.

    The sample code and output snapshot are as follows:
    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="DockTest.aspx.vb" Inherits="DockTest" %> 
     
    <%@ 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>Test Page</title> 
         
    </head> 
    <body> 
        <form id="form1" runat="server"
            <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server"
            </telerik:RadStyleSheetManager> 
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
            </telerik:RadScriptManager> 
            <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" /> 
            <br /> 
            <br /> 
             
            <table> 
                <tr> 
                    <td style="padding: 20px 0px 0px 40px;"
                        <table cellpadding="10" cellspacing="0" border="0"
                             
                            <tr> 
                                <td> 
                                    <telerik:RadListBox ID="RadListBox1" runat="server" SelectionMode="Multiple" Height="160px" > 
                                        <Items> 
                                            <telerik:RadListBoxItem Text="Arts" Value="Arts" /> 
                                            <telerik:RadListBoxItem Text="Biographies" /> 
                                            <telerik:RadListBoxItem Text="Children's Books" /> 
                                            <telerik:RadListBoxItem Text="Computers &amp; Internet" /> 
                                            <telerik:RadListBoxItem Text="Cooking" /> 
                                            <telerik:RadListBoxItem Text="History" /> 
                                            <telerik:RadListBoxItem Text="Fiction" /> 
                                            <telerik:RadListBoxItem Text="Mystery" /> 
                                            <telerik:RadListBoxItem Text="Nonfiction" /> 
                                            <telerik:RadListBoxItem Text="Science Fiction" /> 
                                            <telerik:RadListBoxItem Text="Travel" /> 
                                        </Items> 
                                    </telerik:RadListBox> 
                                </td> 
                            </tr> 
                            <tr> 
                                <td> 
                                    <asp:ListBox ID="ListBox1" runat="server" SelectionMode="Multiple" > 
                                        <asp:ListItem Text="Arts"></asp:ListItem> 
                                        <asp:ListItem Text="Biographies"></asp:ListItem> 
                                        <asp:ListItem Text="Children's Books"></asp:ListItem> 
                                        <asp:ListItem Text="Computers &amp; Internet"></asp:ListItem> 
                                        <asp:ListItem Text="Cooking"></asp:ListItem> 
                                        <asp:ListItem Text="History"></asp:ListItem> 
                                        <asp:ListItem Text="Fiction"></asp:ListItem> 
                                        <asp:ListItem Text="Mystery"></asp:ListItem> 
                                        <asp:ListItem Text="Nonfiction"></asp:ListItem> 
                                        <asp:ListItem Text="Science Fiction "></asp:ListItem> 
                                        <asp:ListItem Text="Travel"></asp:ListItem> 
                                    </asp:ListBox> 
                                </td> 
                            </tr> 
                             
                        </table> 
                    </td> 
                    <td> 
                                                      
                    </td> 
                </tr> 
            </table> 
             
        </form> 
    </body> 
    </html> 
     

    Output snapshot:  please find the attached file.


    Thanks & Regards,
    Amith V.A.


  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 30 Mar 2010 Link to this post

    Hello kiran,

    Currently RadFormDecorator does not support this feature. We will do our best to include it in one of the following releases.

    Greetings,
    Georgi Tunev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top