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

Problem with RadFormDecorator - Multiple selection in ASP ListBox

2 Answers 94 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
kiran
Top achievements
Rank 1
kiran asked on 26 Mar 2010, 08:08 AM
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 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 30 Mar 2010, 11:23 AM
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.
0
Luis
Top achievements
Rank 2
answered on 28 Dec 2017, 08:57 PM
the problem continue on 2016
Tags
FormDecorator
Asked by
kiran
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Luis
Top achievements
Rank 2
Share this question
or