Intercepting All Ajax Calls ?

Discussion in 'ASP .Net' started by Microsoft Newsserver, Mar 25, 2008.

  1. Hi,

    I am using VS2005/.Ajax 1.1 . I need to mask the screen during async calls
    back to the server. I can do this by surrounding the whole screen with a
    filtered div to prevent click throughs to controls.

    The issue is how or when to turn the filter on the div on. Basically, I need
    to know how to intercept any of the async calls and turn the div filter on,
    which I then turn off again during page load.


    Any ideas ?
    Microsoft Newsserver, Mar 25, 2008
    #1
    1. Advertising

  2. Microsoft Newsserver

    bruce barker Guest

    see PageRequestManager methods:

    add_beginRequest(BeginRequestHandler);
    add_endRequest(EndRequestHandler);


    -- bruce (sqlwork.com)


    "Microsoft Newsserver" wrote:

    > Hi,
    >
    > I am using VS2005/.Ajax 1.1 . I need to mask the screen during async calls
    > back to the server. I can do this by surrounding the whole screen with a
    > filtered div to prevent click throughs to controls.
    >
    > The issue is how or when to turn the filter on the div on. Basically, I need
    > to know how to intercept any of the async calls and turn the div filter on,
    > which I then turn off again during page load.
    >
    >
    > Any ideas ?
    >
    >
    >
    bruce barker, Mar 25, 2008
    #2
    1. Advertising

  3. Cheers Bruce. I'll look those up.


    "bruce barker" <> wrote in message
    news:...
    > see PageRequestManager methods:
    >
    > add_beginRequest(BeginRequestHandler);
    > add_endRequest(EndRequestHandler);
    >
    >
    > -- bruce (sqlwork.com)
    >
    >
    > "Microsoft Newsserver" wrote:
    >
    >> Hi,
    >>
    >> I am using VS2005/.Ajax 1.1 . I need to mask the screen during async
    >> calls
    >> back to the server. I can do this by surrounding the whole screen with a
    >> filtered div to prevent click throughs to controls.
    >>
    >> The issue is how or when to turn the filter on the div on. Basically, I
    >> need
    >> to know how to intercept any of the async calls and turn the div filter
    >> on,
    >> which I then turn off again during page load.
    >>
    >>
    >> Any ideas ?
    >>
    >>
    >>
    Microsoft Newsserver, Mar 25, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Honne Gowda A
    Replies:
    2
    Views:
    873
    Karl Heinz Buchegger
    Oct 31, 2003
  2. andy6
    Replies:
    2
    Views:
    757
    andy6 via DotNetMonster.com
    Jun 9, 2006
  3. Matt Leslie

    Intercepting method calls

    Matt Leslie, Apr 27, 2004, in forum: Python
    Replies:
    2
    Views:
    269
    Matt Leslie
    Apr 27, 2004
  4. minnie
    Replies:
    1
    Views:
    686
    Andrew Thompson
    Dec 13, 2006
  5. Richard Tobin
    Replies:
    24
    Views:
    788
Loading...

Share This Page