Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8463345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:25:45+00:00 2026-06-10T14:25:45+00:00

I have a problem where I need to be able to detect AJAX calls

  • 0

I have a problem where I need to be able to detect AJAX calls on a general ASP.NET page. However this page is automatically generated so I cannot add any code or script managers to it, that aren’t already generated.

I basically need a way of detecting generic AJAX calls with JQuery or general JavaScript. I am unable to add code that makes the ajax calls either. So it needs to be as generic as possible and be able to detect an AJAX call.

I have already tried the ajaxComplete JQuery function, but this did not work as the ajax calls don’t have starts or stops assigned to them.

The reason I have this problem is because I have a server control written in C# ASP.NET and its a plugin to a page, and needs to detect AJAX queries on the page. However I cannot modify the contents of the page, only the control.

Is this possible? Any ideas?

EDIT:

In the end we fixed the problem another way. We didnt need to detect the AJAX calls after all. Instead we had JavaScript that loads when our control does and we wrapped the JQuery document ready function with the page load function like so:

function pageLoad() {
    $(document).ready(function () {
        stuff();
    });
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T14:25:47+00:00Added an answer on June 10, 2026 at 2:25 pm

    Not sure it’s works for you but only solution is,

    jQuery(document.body).ajaxStart(function(){
        // start ajax call
    }).ajaxStop(function(){
        // end ajax call
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem, I need to change body of method when this class
I have a single form field and I need to be able to detect
I have problem i need to convert from my Array structure to std::vector<int> ...
I have a problem where I need to split an input string into possible
I have a problem where I need to remove all code and triggers from
I have the following problem: I need to use XSLFO to generate a 2-column
I have the next problem: I need to process only 1 request at a
OSX 10.7, XCode 4. I have a small problem: I need to push back
I have a problem with Matlab - I need to do the following :
I have a problem with Json formating returned from .ASMX I need to return

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.