RadAjax for ASP.NET AJAX

RadControls for ASP.NET AJAX

If you want to invoke download for a file from ajaxified control (either placed in RadAjaxPanel or ajaxified by RadAjaxManager), you cannot use the normal

because the xmlhttp request cannot handle this.

Instead you can use the ResponseScripts collection of the RadAjax controls to change the location header and download the file:

The ResponseScripts collection will be executed after ajax request completes.