By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,968 Members | 1,659 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,968 IT Pros & Developers. It's quick & easy.

Display Image While Importing

P: n/a

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


Jul 23 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
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
onreadystatechange 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 site to look at
the reference for the XMLHTTP object.

Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.