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: text field multiple
•  14 Wellknown C++ Ebooks to download
•  14 Wellknown C++ Ebooks to download
•  Re: DHTML tutorials?
•  Re: User input validation
•  I Need Help
•  Create a wrapper for a COM Dll
•  HashMaps
•  HashMaps


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-2008