Alpha Video Training
Results 1 to 3 of 3

Thread: ajax call back failed inside grid

  1. #1
    Member
    Real Name
    Vangelis Komninos
    Join Date
    Apr 2014
    Posts
    39

    Default ajax call back failed inside grid

    Season Greetings to everyone!

    Directly to the problem. I am calling a javascript function (which calls an ajaxcallback) from a button inside a grid.
    I am trying to catch the situation when application server is down like this:

    {grid.Object}.ajaxCallback('G',rowNum,'setResult','','',
    { ajaxCallbackTimeout: 1000,
    errorFunction: function() { alert('failed'); },
    onComplete: function() { var msg = {Grid.object}._retVar;alert(msg);}
    }
    );

    with no success. The error function never fires.
    Is there any other way to investigate the status (online/offline) of the application server ?

    Warmest Regards
    Vangelis

  2. #2
    "Certified" Alphaholic mikeallenbrown's Avatar
    Real Name
    Mike Brown
    Join Date
    Nov 2009
    Location
    United States
    Posts
    1,870

    Default Re: ajax call back failed inside grid

    Many of us here use a utility called "AlwaysUp". AlwaysUp can be configured to send you an e-mail when it detects something wrong with the app server. It can also be configured to automatically restart the app server.
    Mike Brown - Contact Me
    Programmatic Technologies, LLC
    Programmatic-Technologies.com
    Independent Developer & Consultant

  3. #3
    Member
    Real Name
    Vangelis Komninos
    Join Date
    Apr 2014
    Posts
    39

    Default Re: ajax call back failed inside grid

    Thank you Mike.
    It sounds a good alternative in order to be sure that the server is in good health.

    Regards

Similar Threads

  1. How to Programmatically refresh a row in a LINKED grid as result of an ajax call back
    By cptutrecht in forum Application Server Version 11 - Web/Browser Applications
    Replies: 1
    Last Post: 11-07-2012, 12:14 PM
  2. Ajax Call Back - Add record issue
    By SteveK3003 in forum Application Server Version 11 - Web/Browser Applications
    Replies: 12
    Last Post: 09-05-2012, 12:10 PM
  3. refresh embedded grid in dialog as result of ajax call back not possible?
    By cptutrecht in forum Application Server Version 11 - Web/Browser Applications
    Replies: 1
    Last Post: 06-13-2012, 06:32 AM
  4. Ajax Call back problem with 'e.V'
    By cFlat7 in forum Application Server Version 10 - Web/Browser Applications
    Replies: 2
    Last Post: 11-04-2010, 06:35 PM
  5. check box Selection Ajax Call Back
    By amarcelo in forum Application Server Version 10 - Web/Browser Applications
    Replies: 2
    Last Post: 05-06-2010, 03:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •