This is a general question on how to create a dynamic progress bar. I've read numerous articles but cant decide on the technology I should be using ie - Ajax, Javascript etc. The problem I've got is a process that imports data from a text file in to a database. This can take a few minutes so idealy I would like to display a progress bar that refreshes at 5% intervals. The process is happening in a class object in the code behind but cant figure out how to call a refresh from here. Any help on this or maybe a different method would be much appreciated.