This is a migrated thread and some comments may be shown as answers.

RadAjaxManager.ajaxRequest works with firebug, not otherwise

1 Answer 28 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 2
Iron
Iron
Veteran
Jay asked on 13 Jul 2015, 09:12 PM

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?

1 Answer, 1 is accepted

Sort by
0
Jay
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 14 Jul 2015, 12:28 PM
Well, that was silly -- I wasn't returning false so it was submitting the form.
Tags
Ajax
Asked by
Jay
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Jay
Top achievements
Rank 2
Iron
Iron
Veteran
Share this question
or