Rad List box items disabled

5 posts, 0 answers
  1. Jagat
    Jagat avatar
    135 posts
    Member since:
    Jan 2011

    Posted 04 Apr 2012 Link to this post

    Hello,

       In my web page, i have 2 list boxes and i also have a radajaxmanager on the page. Everything works as expected on localhost but once i publish it on the server, the list box items are disabled. As they are disabled, i couldn't move the items from source listbox to destination list box. 
    Can you guys think of any reason why it would behave like that?

    Appreciate the help
    Thanks 
  2. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 09 Apr 2012 Link to this post

    Hi Jagat,

    We have not experienced such issue with the RadListBox control. As you can see our live demos are working correctly in production environment. Is it possible to send me a sample project to investigate it locally ?

    Regards,
    Peter Filipov
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jagat
    Jagat avatar
    135 posts
    Member since:
    Jan 2011

    Posted 09 Apr 2012 Link to this post

    It is working on as expected on IE8. But not on Chrome,FF. I will send you the sample project very soon.

    Thanks
  5. Jagat
    Jagat avatar
    135 posts
    Member since:
    Jan 2011

    Posted 27 Apr 2012 Link to this post

    Here is my aspx page.

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                             <AjaxSettings>                         
                              <telerik:AjaxSetting AjaxControlID="rcbServiceProgram">
                                     <UpdatedControls>
                                         <telerik:AjaxUpdatedControl ControlID="rlbClntService" />
                                         <telerik:AjaxUpdatedControl ControlID="rlbSelectedServices" />
                                     </UpdatedControls>
                                 </telerik:AjaxSetting>
                                 <telerik:AjaxSetting AjaxControlID="rcbEnrProgram">
                                     <UpdatedControls>
                                         <telerik:AjaxUpdatedControl ControlID="rlbEnrollment" />
                                         <telerik:AjaxUpdatedControl ControlID="rlbSelectedEnr" />
                                     </UpdatedControls>
                                 </telerik:AjaxSetting>
                                 <telerik:AjaxSetting AjaxControlID="rcbOutcomeProgram">
                                     <UpdatedControls>
                                         <telerik:AjaxUpdatedControl ControlID="rlbOutcomes" />
                                         <telerik:AjaxUpdatedControl ControlID="rlbSelectedOutcomes" />
                                     </UpdatedControls>
                                 </telerik:AjaxSetting>                             
                              </AjaxSettings>
            </telerik:RadAjaxManager>

    <telerik:RadPageView ID="RadPageView1" runat="server">
                     <asp:Panel ID="pnlEnr" runat="server" CssClass="servicespanel">
                         <table>                   
                             <tr>
                                 <td>
                                     <asp:Label ID="lblEnrDate" runat="server" CssClass="label" Text="Enrollment Date" />
                                 </td>
                                 <td>
                                     <telerik:RadDatePicker ID="rdpEnrDate" runat="server" BackColor="LightGreen">
                                         <DateInput ID="DateInput2" runat="server" DateFormat="MM/dd/yyyy" DisplayDateFormat="MM/dd/yyyy">
                                         </DateInput></telerik:RadDatePicker>
                                     <asp:RequiredFieldValidator ID="rfvEnrDate" runat="server" ControlToValidate="rdpServDate"
                                         ErrorMessage="Date is required." SetFocusOnError="True" ToolTip="Date is required.">*</asp:RequiredFieldValidator>
                                 </td>
                             </tr>
                             <tr>
                                 <td>
                                     <asp:Label ID="lblEnrPrg" runat="server" CssClass="label" Text="Select a Program" />
                                 </td>
                                 <td>
                                     <telerik:RadComboBox ID="rcbEnrProgram" runat="server" CssClass="Text" EmptyMessage="Type here ..."
                                         Skin="Office2010Black" OnSelectedIndexChanged="rcbEnrProgram_SelectedIndexChanged" Width ="200px"
                                         AutoPostBack="true" OnDataBound="rcbEnrProgram_DataBound">
                                     </telerik:RadComboBox>
                                 </td>
                             </tr>
                             </table>
                             <table>
                             <tr>
                                 <td colspan="2">
                                     <fieldset>
                                         <legend class="legend">Enrollment</legend>
                                         <table>
                                             <tr>
                                                 <td>
                                                     <telerik:RadListBox ID="rlbEnrollment" runat="server" AllowTransferOnDoubleClick="True"
                                                         Height="130px" Skin="Forest" TransferToID="rlbSelectedEnr" Width="400px" AllowTransferDuplicates="true"
                                                         AllowTransfer="True" EnableDragAndDrop="true" AutoPostBackOnTransfer="false">
                                                         <ButtonSettings ShowReorder="false" ShowTransferAll="false" />
                                                     </telerik:RadListBox>
                                                 </td>
                                                 <td>
                                                     <table>
                                                         <tr>
                                                             <td>
                                                                 <asp:Label ID="Label1" runat="server" CssClass="label" Text="Selected Enrollment" />
                                                             </td>
                                                         </tr>
                                                         <tr>
                                                             <td>
                                                                 <telerik:RadListBox ID="rlbSelectedEnr" runat="server" Height="110px" Skin="Forest"
                                                                     Width="400px"  >
                                                                     <ButtonSettings TransferButtons="All" ShowDelete="true" />
                                                                 </telerik:RadListBox>
                                                             </td>
                                                         </tr>
                                                     </table>
                                                 </td>
                                             </tr>
                                         </table>
                                     </fieldset>
                                 </td>
                             </tr>
                             </table>
                         <table>
                             <tr>
                                 <td>
                                     <fieldset>
                                         <legend class="legend">Other Details</legend>
                                         <table>
                                             <tr>
                                                 <td>
                                                     <asp:Label ID="lblEnrFor" runat="server" CssClass="label" Text="Enrollment for " />
                                                 </td>
                                                 <td>
                                                     <telerik:RadComboBox ID="rcbEnrFor" runat="server" CssClass="Text" Skin="Office2010Black"
                                                         OnDataBound="rcbEnrFor_DataBound">
                                                     </telerik:RadComboBox>
                                                 </td>
                                             </tr>
                                             <tr>
                                                 <td>
                                                     <asp:Label ID="lblEnrPersons" runat="server" CssClass="label" Text="# Persons Enrolled" />
                                                 </td>
                                                 <td>
                                                     <telerik:RadNumericTextBox ID="txtEnrPersons" runat="server" ToolTip="Persons Enrolled"
                                                         NumberFormat-DecimalDigits="0" Width="50px" ShowSpinButtons="true" MinValue="0" />
                                                 </td>
                                             </tr>
                                             <tr>
                                                 <td>
                                                     <asp:Label ID="lblEnrNotes" runat="server" CssClass="subheading" Text=" Notes " />
                                                 </td>
                                             </tr>
                                             <tr class="spaceUnder" >
                                                 <td colspan="2">
                                                     <telerik:RadTextBox ID="txtEnrNotes" runat="server" TextMode="MultiLine" Width="805px"
                                                         Height="150px">
                                                     </telerik:RadTextBox>
                                                 </td>
                                             </tr>
                                              
                                              <tr>
                                                 <td align="left">
                                                     <telerik:RadButton ID="btnShowEnr" runat="server" CssClass="button" Visible="false"
                                                     Text="Show Enrollment Info" Font-Size="Medium">
                                                         <Icon PrimaryIconUrl="~/Images/Report.png" />
                                                     </telerik:RadButton>
                                                 </td>
                                               
                                                 <td align="right">
                                                     <telerik:RadButton ID="btnSaveEnr" runat="server" CssClass="button" Skin="WebBlue"
                                                     Text="Save Enrollment Info" Font-Size="Medium" OnClick="btnSaveEnr_Click">
                                                         <Icon PrimaryIconUrl="~/Images/Save.png" />
                                                     </telerik:RadButton>
                                                 </td>
                                             </tr>
                                             
                                         </table>
                                     </fieldset>
                                 </td>
                             </tr>
                         </table>
                         <table>
                          
                                             </table>
                     </asp:Panel>
                 </telerik:RadPageView>


    This is how i gave the list boxes. and like the pageview you have seen above, I have 2 more pageviews with 2 listboxes in each, On the whole, I have 6 listboxes in the page,

    Like i said earlier, it is working just fine on IE, but NOT on any other browser. 
    Am i missing some thing here?

    Appreciate the help
    Thanks


  6. Jagat
    Jagat avatar
    135 posts
    Member since:
    Jan 2011

    Posted 01 May 2012 Link to this post

    Hello ,

     I got it working. I have all the controls including the radlistboxes in a panel.I am enabling/disabling the panel based on the combobox selection. Just enabling the panel is not sufficient after once it is disabled. I had to enable radlistboxes too. I don't know why it is behaving like that. 

    Thanks
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017