Hello,
We currently offer our users to download some pdf's from a radGrid thus, we need to disable ajax so we can "push" the file directly to the client without opening a new window.
So on the event "OnRequestStart" of our RadAjaxManager we have this script that disable ajax and it works great. But after the file is pushed, we need to re-enable ajax so crontrols like "RadCombobox" start working again.
function onRequestStart(ajaxManager, eventArgs) |
{ |
if(eventArgs.EventTarget.indexOf("lnkbtnUpload") != -1) |
{ |
eventArgs.EnableAjax = false; |
} |
} |
We tried OnRequestEnd, but didn't work. This event is not event fired, which is probably due to the fact that "ajax" is disabled.
How could this be achieved?
Thanks!