in my button click event i have:
StringBuilder strTXTFileBuilder = new StringBuilder(); Response.Clear(); Response.AddHeader("content-disposition", "attachment;filename="ExportResult.txt"); Response.Charset = "";
Response.ContentType = "application/vnd.text"; StringWriter stringWrite = new StringWriter(); HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite); Response.Write(strTXTFileBuilder.ToString()); Response.End();it works without RadAjaxLoadingPanel. Once I put onto the page a RadAjaxLoadingPanel, when i click on the button again i get error:
Line: 6
Error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '
any idea what am i doing wrong? please help
thanks in advance