Hi there
I'm having a problem with a RadRotator in CoverFlowButtons mode whereby the OnClientItemShown event is not firing in some cases. I have the rotator setup with a collection (List<>) of images with additional data stored in hidden fields, one of which is a time to display, in the itemtemplate of the items. I have a mechanism operating in the background which checks the items in the rotator at timed intervals and changes the current item to the correct one for the time, using the set_currentItemIndex method. This correctly moves the rotator on to the appropriate item regardless of whether it's the next, previous or one some distance away. But when the selected item displays in the rotator neither the OnClientItemShowing or OnClientItemShown events fire - which I am relying on to change a large version of the selected image. If I manually click on an item in the rotator or use the next or previous buttons of the rotator then it does correctly fire the events and everything works perfectly. Is there something else I need to do to get the OnClientItemShown (or OnClientItemShowing) event to fire? I originally declared the event in the definition of the rotator but have since changed it to call the .add_itemShown method in the OnClientLoad event but all to no avail. I'm sure I have already had this working some time ago but now I'm not so sure. I've even stripped out all code from the event just in case there was something of issue in the code but that's made no difference either. I'm currently on version 2012.2.607.40 and the page I am using is a content page using a site master, but all code is on my aspx page. The rotator is simply contained in a div and I have no ajax calls taking place or anything of the kind.
Any suggestions?
I'm having a problem with a RadRotator in CoverFlowButtons mode whereby the OnClientItemShown event is not firing in some cases. I have the rotator setup with a collection (List<>) of images with additional data stored in hidden fields, one of which is a time to display, in the itemtemplate of the items. I have a mechanism operating in the background which checks the items in the rotator at timed intervals and changes the current item to the correct one for the time, using the set_currentItemIndex method. This correctly moves the rotator on to the appropriate item regardless of whether it's the next, previous or one some distance away. But when the selected item displays in the rotator neither the OnClientItemShowing or OnClientItemShown events fire - which I am relying on to change a large version of the selected image. If I manually click on an item in the rotator or use the next or previous buttons of the rotator then it does correctly fire the events and everything works perfectly. Is there something else I need to do to get the OnClientItemShown (or OnClientItemShowing) event to fire? I originally declared the event in the definition of the rotator but have since changed it to call the .add_itemShown method in the OnClientLoad event but all to no avail. I'm sure I have already had this working some time ago but now I'm not so sure. I've even stripped out all code from the event just in case there was something of issue in the code but that's made no difference either. I'm currently on version 2012.2.607.40 and the page I am using is a content page using a site master, but all code is on my aspx page. The rotator is simply contained in a div and I have no ajax calls taking place or anything of the kind.
Any suggestions?