You can detect a full rotation by checking the index of the current item. This is achieved via the Client API
of the RadRotator. Please use the following steps to implement this functionality:
1. The RadRotator has a client-side event OnClientItemShown
, which is fired every time a new item is shown. It will be handled in order to perform a check on every item.
2. The index of the currently shown item is referenced via the radRotator.get_item().get_index()
structure, where radRotator
is the client object of the rotator. Depending on the current index, a check is performed whether the last item of the RadRotator is displayed. If this is the case, an AJAX request is sent to the server via the RadAjaxManager
3. From the code-behind the data of the rotator is rebinded on the AjaxRequest
event of the RadAjaxManager.
Please find attached a sample project, implementing the desired functionality. You may use it as a base for your further development.
the Telerik team