RadAjaxManager.ajaxRequest works with firebug, not otherwise

2 posts, 0 answers
  1. Jay
    Jay avatar
    59 posts
    Member since:
    Dec 2011

    Posted 13 Jul 2015 Link to this post

    I have a page with a RadAjaxManager on it that I was using to make various ajax calls and it is working perfectly well. Then I needed to ajaxify another call. So I removed a button's onclick attribute and added a OnClientCilck that invoked a javascript function:

    function execute() {
        var ram = $find("<%= ramFilter.ClientID %>");
        ram.ajaxRequest("execute");
    }

    This doesn't work; the ajaxRequest event is never fired in my code behind.

     However, if I open up firebug and set a breakpoint on the ajaxRequest line and step over the function call, the event handler is hit. If, on the other hand, I just hit continue in firebug, the event handler is not invoked.

     Any ideas?

  2. Jay
    Jay avatar
    59 posts
    Member since:
    Dec 2011

    Posted 14 Jul 2015 in reply to Jay Link to this post

    Well, that was silly -- I wasn't returning false so it was submitting the form.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top