How to disable RadListbox [Telerik] control TransferAll button if list item count is more than 25

317 Views Asked by At

Not able to enable/disable Transferall button of RadListbox Control [Telerik]. Kindly suggest how to control TransferAll button properties from serverside/client side if list item count is more than some value.

enter image description here

1

There are 1 best solutions below

1
On

You can add this in your function to explicitly bind the datasource to the listbox.

if (count > 25)
{
    listbox.ButtonSettings.ShowTransferAll = false;
}