I have followed a number of posts here to get the export button to work whilst using a RadAjaxManagerProxy. It does, work in the sense that the page postback is done via AJAX. The loadingPanel appears and it seems to start doing its stuff. However, this is where the success ends. It simply stops loading and then presents me with the same page (except bizarely this time some of the pages elements have been nudged to the right by about 50 pixels).
I followed some forums to wire up the OnRequestStart method to the RadAjaxManager in the master.template. As I said, this seems to be working in the sense that the postback is now handled by AJAX and the loading panel. For clarity, this is the code i have used to achieve this part:
RadAjaxManager oAjaxMan = (RadAjaxManager)this.Page.Master.FindControl("RadAjaxManager1");
oAjaxMan.ClientEvents.OnRequestStart = "mngRequestStarted";
Now, as mentioned this is where my luck runs out. Is there anything i am missing? I have added the following to the RadGrid:
<ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true"></ExportSettings>
So i would expect a new page to open and present me with the open / save dialog box. But it doesn't. One other thing i noticed when following instructions in other posts was to make use of a AjaxSettingCreating method... but i haven't done this as i do not know what it is for. Maybe this is where i have gone wrong?
Really hoping someone is able to help. Please let me know if you need any extra information from me.
Thanks in advance
Ben
I followed some forums to wire up the OnRequestStart method to the RadAjaxManager in the master.template. As I said, this seems to be working in the sense that the postback is now handled by AJAX and the loading panel. For clarity, this is the code i have used to achieve this part:
RadAjaxManager oAjaxMan = (RadAjaxManager)this.Page.Master.FindControl("RadAjaxManager1");
oAjaxMan.ClientEvents.OnRequestStart = "mngRequestStarted";
Now, as mentioned this is where my luck runs out. Is there anything i am missing? I have added the following to the RadGrid:
<ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true"></ExportSettings>
So i would expect a new page to open and present me with the open / save dialog box. But it doesn't. One other thing i noticed when following instructions in other posts was to make use of a AjaxSettingCreating method... but i haven't done this as i do not know what it is for. Maybe this is where i have gone wrong?
Really hoping someone is able to help. Please let me know if you need any extra information from me.
Thanks in advance
Ben