I have set the height of the rotator and this would accommodate 3 items. If the list that I am binding contains <= 3 items then the up and down arrows should be disabled. How can I achieve this.
TIA,
Uday
1 Answer, 1 is accepted
0
Niko
Telerik team
answered on 26 Apr 2011, 05:23 PM
Hello Uday,
The best solution would be to attach to the OnClientLoad event of the RadRotator and check the length of the items collection. If the length is less than, in your case, 3, then hide the buttons. Hiding the buttons is easily done through the jQuery library. Here is an example implementation of the OnClientLoad handler: