As per the documentation I am attempting to initiate a download from an ajaxified control like this:
RadAjaxPanel1.ResponseScripts.Add(String.Format(@"window.location.href = ""{0}"";", http://yoursite.com/Your_File));
However that brings up IE's Information bar. Once the user clicks on "download file..." the page "refreshes" to the state when it first loaded prior to any ajax requests and the file does not download.
Is there any way to work around this? I understand that files will not download automatically without user intervention since XP SP2, but isn't clicking on a button to initiate an ajax request "user intervention" or is that "broken" because of the callback?
RadAjaxPanel1.ResponseScripts.Add(String.Format(@"window.location.href = ""{0}"";", http://yoursite.com/Your_File));
However that brings up IE's Information bar. Once the user clicks on "download file..." the page "refreshes" to the state when it first loaded prior to any ajax requests and the file does not download.
Is there any way to work around this? I understand that files will not download automatically without user intervention since XP SP2, but isn't clicking on a button to initiate an ajax request "user intervention" or is that "broken" because of the callback?