Display Image While Importing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bungle@wizardbuy.com

    Display Image While Importing

    Hi

    I am currently creating part of a system which does a simple import of
    a CSV file using SQL Server with DTS. The front end to this is a web
    based .NET (C#) app. Obviously when the CSV file is large, there is a
    delay for the user receiving any feedback from the system. I therefore
    want to do what I have seen other systems do and display a gif image to
    show the user that something is happening (eg. spinning images etc).

    It would be great if someone could help me with this!

    Thanks very much

    Dave

  • michael elias

    #2
    Re: Display Image While Importing

    Are you receiving the CSV file with an XMLHTTP object? If so you can
    set it to asynchronous mode, this way the browser's process thread will
    not be blocked while it's downloading the file. Attach a handler to the
    onreadystatecha nge event to check the status of the download. This way
    any animated gifs will be displayed correctly, meaning they will keep
    looping through their animation. Check the www.msdn.com site to look at
    the reference for the XMLHTTP object.

    Comment

    Working...