codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  how come Animated GIF becomes still in ASP.NET webpage???  ipsoftware at 08:17 on Saturday, January 15, 2005
 

I want an animated gif image to be shown once the form is submitted and some time-consuming activities is run in the server side.

Now, upon clicking on the button, the hidden image is shown. However, surprisingly, the animated gif becomes a still one while the backend time-consuming activity is in progress. The image is not animated any more.

In the code file behind. I wrote:
private void Page_Load(object sender, System.EventArgs e)
{
Button1.Attributes.Add("onclick","showImage();");
}

public Button1_click(....)
{
time consuming operation here...
}

then one the .aspx file, I wrote the script as:
function showImage()
{
document.getElementById(imageID).style.visibility = "visible";
}

How come the image is not animated any more while the time-consuming function is running behind??








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
• Re: store string from text file to vector
• Re: c# .net Exception of type System.StackOverflowException was thrown.
• Re: error: expression must have a constant value
• Re: Script Does Folder Exist – If Not Create It
• $_GET not working
• GET METHOD
• Re: windows service - web service - com
• Re: Storing data from HTML to Excel or TXT
• Re: Help totalReads=1 totalReads++=2 write totalReads 3 not 2


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2010