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:
Code:
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> |