Click on empty message

5 posts, 0 answers
  1. Daniel Botero Correa
    Daniel Botero Correa avatar
    32 posts
    Member since:
    Oct 2009

    Posted 04 Mar 2010 Link to this post

    Hello,

    I have a problem with the click around empty message in the RadListBox.

    When i do click around empty message, the control throw an exception.

    How i can disable the event selectedIndexChanged when there are not elements in
    the RadListBox?

    This is the error when i click on RadListBox (Empty):

    Microsoft JScript runtime error: 'undefined' is null or not an object

    The error is occurred at second line:
     
    this._activeItem=e; 
    d(e.get_element()).addClass("rlbActive"); 
    e.ensureVisible(); 

    Code:

                                    <telerik:RadListBox ID="mailToSend" runat="server"  
                                         EmptyMessage="Emailsssssss" Height="150px" Width="200px" 
                                         SelectionMode="Multiple" AllowTransfer="True" TransferToID="mailToRemove"  
                                         AutoPostBackOnTransfer="True" AllowReorder="True" AutoPostBackOnReorder="True" 
                                         EnableDragAndDrop="True" Visible="false"
                                         <EmptyMessageTemplate> 
                                             Emailsssssss 
                                         </EmptyMessageTemplate> 
                                     </telerik:RadListBox> 
  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 04 Mar 2010 Link to this post

    Which version of the controls are you using? I believe this occurred for me once a while back but I was unable to get this error when I loaded up the latest controls (Q3 2009 SP2 - 2009.3.1314) using various versions of FF and IE. If you have an earlier version you can always try the latest one to see if you notice a difference.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Daniel Botero Correa
    Daniel Botero Correa avatar
    32 posts
    Member since:
    Oct 2009

    Posted 08 Mar 2010 Link to this post

    Hi,

    Yes, i have an earlier version... so, i hope that when i update the library version, it will work...

    Thanks!!

    Daniel BOTERO CORREA
  5. rtk
    rtk avatar
    46 posts
    Member since:
    Aug 2006

    Posted 24 Mar 2010 Link to this post

    Can someone please tell me which version this problem is fixed. I have this problem and i'm running version 2009.3.
  6. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 24 Mar 2010 Link to this post

    I believe this was addressed in an internal build somewhere after the initial Q3 release and should be included in the SP1 release :)
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017