You must Sign In to post a response.
  • Category: ASP.NET

    Thanks to K.Prabhakar varma........

    LstFile.Items(i).Selected=False is a no problem.

    i change
    Response.AddHeader("Content-disposition", "attachment;filename=" & LstFile.items(i).Text & "")
    in that place.

    My Error is
    "Server cannot append header after HTTP headers have been sent."

    how is handle.

    Thanks to you
  • #225205
    change the line like this
    Response.AddHeader("Content-disposition", "attachment;filename=" & LstFile.items(i).Text )


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.