Hi,
I m exporting GridView data to TSV file. once the Button for Export is clicked, File download Dialog is prompted.
code to prompt file download dialog:
Dim sw As StringWriter = New StringWriter()
Dim strTsvFile As String = "attachment; filename=Gridlist.tsv"
Response.ClearContent()
Response.AddHeader("content-disposition", strTsvFile)
Response.ContentType = "text/plain"
sw.Write("Test" & vbtab & "Test2" & vbtab & "Test3")
sw.Close()
Response.Write(sw.ToString())
Response.End()
When i click cancel in the form, The dialog got closed. but the BusyBox is still showing as Processing. It get stopped only by closing the Page.
I have registered BusyBox in aspx page and include the tag in Body of the aspx page as below
<busyboxdotnet:BusyBox ID="BusyBox1" runat="server" Image="FadingCircles" OverlayColor="Silver" AlertIfPageNotLoaded="True" SlideEasing="BackBoth" AnchorControl="" Text="<%$ Resources:Resource, BusyBoxText %>" Title="<%$ Resources:Resource, BusyBoxTitle %>" ImmediatelyOverlay="True" />
I want Busybox to get closed before File Download dialog gets prompted or after file Download dialog get closed.
Please do help me regarding this.
Thanks in advance