AjaxManger OnRequestStart jQuery bind/on

2 posts, 0 answers
  1. Christian
    Christian avatar
    112 posts
    Member since:
    May 2010

    Posted 13 Mar 2012 Link to this post

    Dear Support,

    I try to attach a second events to the AjaxManager by using jQuery:

    $('<%= this.AjaxManager.ClientID %>').on('OnRequestStart', function(sender, args)
       //Do something

     or (I thinks it's 'RequestStart')
    $('<%= this.AjaxManager.ClientID %>').on('RequestStart', function(sender, args)
       //Do something

    but the addition event will not be fired?


    Thanks in advance!

  2. Richard
    Richard avatar
    479 posts
    Member since:
    Nov 2011

    Posted 15 Mar 2012 Link to this post


    You have not specified if you are using Master/ContentPages and/or User Controls in your application. This could be one cause of the problem, if your RadAjaxManager is not defined on the page where you're trying to attach the event.

    See the RadAjaxManagerProxy documentation page for insights.

    Alternatively, you can attach an event handler in the code behind, as shown on that documentation page.

    Hope this helps!
Back to Top