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:
Output snapshot: please find the attached file.
Thanks & Regards,
Amith V.A.
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 & 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 & 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.