I have build a custom action which calls the RaisePostBackEvent Event. This works fine for me. In the RaisePostBackEvent Event i made an HttpContext.Current.Response to export a file. At the end i make a HttpContext.Current.Response.End().
My Problem is, that everything seems to be fine when i click first time on my menuitem. Its executes the RaisePostBackEvent Event and i get my file for download, too.
But its not possible to click on the menuitem a second or third time. Nothing happens. The RaisePostBackEvent Event doesnt get fired. Whtas wrong here?
Here is my code:
Public Class MyExport
View Complete Post