call javascript function after xmlhttp (ajax)

Discussion in 'ASP .Net' started by Nick Chan, Sep 20, 2007.

  1. Nick Chan

    Nick Chan Guest

    hello, i have a button in updatePanel. i wish to call a certain
    javascript function after client gets response. is there a way to do
    that?
    Nick Chan, Sep 20, 2007
    #1
    1. Advertising

  2. Nick Chan

    bruce barker Guest

    trival:

    Sys.WebForms.PageRequestManager.instance.add_endRequest(myRoutine);

    -- bruce (sqlwork.com)


    Nick Chan wrote:
    > hello, i have a button in updatePanel. i wish to call a certain
    > javascript function after client gets response. is there a way to do
    > that?
    >
    bruce barker, Sep 20, 2007
    #2
    1. Advertising

  3. Nick Chan

    Nick Chan Guest

    thank you! googling that, i get
    Sys.WebForms.PageRequestManager.getInstance().add_endRequest and it
    works perfectly ! thanks!
    On Sep 20, 11:35 pm, bruce barker <> wrote:
    > trival:
    >
    > Sys.WebForms.PageRequestManager.instance.add_endRequest(myRoutine);
    >
    > -- bruce (sqlwork.com)
    >
    >
    >
    > Nick Chan wrote:
    > > hello, i have a button in updatePanel. i wish to call a certain
    > > javascript function after client gets response. is there a way to do
    > > that?- Hide quoted text -

    >
    > - Show quoted text -
    Nick Chan, Sep 21, 2007
    #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. Grant Merwitz

    XmlHttp (AJAX) and postbacl

    Grant Merwitz, Aug 18, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    363
    Grant Merwitz
    Aug 19, 2005
  2. minnie
    Replies:
    1
    Views:
    684
    Andrew Thompson
    Dec 13, 2006
  3. magister pips
    Replies:
    1
    Views:
    1,168
    =?Utf-8?B?TmF0aGFuaWVsIEdyZWVuZQ==?=
    Aug 24, 2007
  4. magister pips
    Replies:
    1
    Views:
    289
    John Saunders [MVP]
    Aug 24, 2007
  5. yawnmoth

    Msxml*.XMLHTTP vs. Microsoft.XMLHTTP

    yawnmoth, Nov 7, 2006, in forum: Javascript
    Replies:
    11
    Views:
    386
    Matt Kruse
    Nov 9, 2006
Loading...

Share This Page