Dear All,
I got a problem with the following case: I would like to enable a button after the file export (using asp.net), the code is:
Dim fi As System.IO.FileI nfo = New System.IO.FileI nfo(strPath)
Response.Clear( )
Response.AddHea der("Content-Disposition", "attachment;fil ename=" + fi.Name)
Response.AddHea der("Content-Length", fi.Length.ToStr ing())
Response.Conten tType = "Text Documents (*.txt)"
Response.WriteF ile(fi.FullName )
Response.Flush( )
btnXXX.enable=t rue
But the button cannot be enabled, i have no idea why it happened.
I got no idea about what happened...
Thank for your kind help!
I got a problem with the following case: I would like to enable a button after the file export (using asp.net), the code is:
Dim fi As System.IO.FileI nfo = New System.IO.FileI nfo(strPath)
Response.Clear( )
Response.AddHea der("Content-Disposition", "attachment;fil ename=" + fi.Name)
Response.AddHea der("Content-Length", fi.Length.ToStr ing())
Response.Conten tType = "Text Documents (*.txt)"
Response.WriteF ile(fi.FullName )
Response.Flush( )
btnXXX.enable=t rue
But the button cannot be enabled, i have no idea why it happened.
I got no idea about what happened...
Thank for your kind help!