"RadRotator items request failed"

3 posts, 1 answers
  1. Matthew Tamm
    Matthew Tamm avatar
    2 posts
    Member since:
    Oct 2004

    Posted 02 Jun 2011 Link to this post

    Hi there,

    We have a RadRotator working/loading via a webservice (using the webservicesettings functionality) and all is working well ....except for the following exception that is thrown when a user clicks off the page with the rotator loading too quickly (as a javascript alert dialog):

    RadRotator items request failed :
    Exception = The server method 'GetRotatorData' failed.


    Occurs in FF, IE, Chrome, and occurs regardless of the debug mode setting in web.config

    Is it possible to supress/hide, or better, handle this so that the javascript alert is not thrown up to the user?

    (Version is that supplied with Sitefinity 4.1 SP1)

    Thanks
  2. Answer
    Niko
    Admin
    Niko avatar
    387 posts

    Posted 02 Jun 2011 Link to this post

    Hello Matthew,

    It is possible to suppress the alert that pops up at error. What you need to do is implement a client-side event handler for OnClientItemsRequestFailed and raise the cancelErrorAlert flag:
    function suppressErrorAlert(rotator, args)
    {
        args.set_cancelErrorAlert(true);
    }

    Hope this helps.

    Regards,
    Niko
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Matthew Tamm
    Matthew Tamm avatar
    2 posts
    Member since:
    Oct 2004

    Posted 02 Jun 2011 Link to this post

    thank you!

    (ashamed I didn't see that before posting)
Back to Top