Click here to Skip to main content
11,478,562 members (64,534 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » Howto » Downloads
Add your own
alternative version

ASP.NET - Upload File With Loading Image using JavaScript and C#

, 18 Mar 2009 CPOL 68.5K 3.9K 44
ASP.NET - Upload File with Loading Image appears after Start Uploading
DemoProject.zip
UploadFileWithLoadingImage
App_Data
bin
UploadFileWithLoadingImage.dll
UploadFileWithLoadingImage.pdb
IFrame
Images
loading.gif
JavaScript
Properties
UploadFileWithLoadingImage.csproj.user



function HideProgress()
{
    parent.document.getElementById("imgLoading").style.display= 'none';
    parent.document.getElementById("iUploadFile").style.display= 'block';
}


function ShowProgress()
{
    parent.document.getElementById("imgLoading").style.display= 'block';
    parent.document.getElementById("iUploadFile").style.display= 'none';
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Malik Hassan
Technical Lead E-Pulse for electronic solutions - Amman,Jordan
Jordan Jordan
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150520.1 | Last Updated 19 Mar 2009
Article Copyright 2009 by Malik Hassan
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid