I have the following two RadListBoxes defined to allow switching items between them. All was well until I defined OnInserted and OnDelted, which fail to fire.
I need to take action when anything is added to or removed from the right list box. This is they only way I'm aware of doing it, but like I said the events don't fire.
Here's the associated code:
<
telerik:RadListBox
runat
=
"server"
ID
=
"rlbxAvailableRoles"
Height
=
"210"
Width
=
"230"
AllowTransfer
=
"true"
TransferToID
=
"rlbxSelectedRoles"
ButtonSettings-AreaWidth
=
"35px"
AllowTransferOnDoubleClick
=
"true"
ButtonSettings-ShowTransferAll
=
"false"
>
<
HeaderTemplate
>
<
h3
>Available Roles</
h3
>
</
HeaderTemplate
>
</
telerik:RadListBox
>
<
telerik:RadListBox
runat
=
"server"
ID
=
"rlbxSelectedRoles"
Height
=
"210"
Width
=
"190"
EmptyMessage
=
"Select at least one role"
OnInserted
=
"rlbxSelectedRoles_Inserted"
OnDeleted
=
"rlbxSelectedRoles_Deleted"
>
<
HeaderTemplate
>
<
h3
>Selected Roles</
h3
>
</
HeaderTemplate
>
</
telerik:RadListBox
>
protected
void
rlbxSelectedRoles_Inserted(
object
sender, RadListBoxEventArgs e)
{
LoadPrimaryRoleDropdown();
}
protected
void
rlbxSelectedRoles_Deleted(
object
sender, RadListBoxEventArgs e)
{
LoadPrimaryRoleDropdown();
}
Any help would be appreciated