Goal is to have a form with RadAjaxManager, but with one Button
which posts back normally and writes out an Excel file via Response.Write(...)
So, RadAjaxManager just needs to let this button be implemented without any Ajaxification.
Already looked at
http://www.telerik.com/community/forums/thread/b311D-bddbka.aspx
What didn't work
which posts back normally and writes out an Excel file via Response.Write(...)
So, RadAjaxManager just needs to let this button be implemented without any Ajaxification.
Already looked at
http://www.telerik.com/community/forums/thread/b311D-bddbka.aspx
What didn't work
-
Added EnableEventValidation="false" to button
<asp:Button ID="btnExportToExcel" runat="server" Text="Export to Excel" Width="96px" Enabled="False" EnableEventValidation="false" /></td> -
Added RadScriptManager1.RegisterPostBackControl(btnExportToExcel) to Page_Load
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
RadScriptManager1.RegisterPostBackControl(btnExportToExcel)
End Sub
Using Telerik AJAX Manager v2008.1.515.20
All the Ajaxification works great. If I set RadAjaxManager1.EnableAJAX = False, it also works fine.
Any suggestions to make this button fire without AJAX?