Click here to Skip to main content
12,248,742 members (43,134 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » Howto » Downloads

Stats

73.5K views
4K downloads
44 bookmarked
Posted

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

, 18 Mar 2009 CPOL
ASP.NET - Upload File with Loading Image appears after Start Uploading
UploadFileWithLoadingImage
App_Data
bin
UploadFileWithLoadingImage.dll
UploadFileWithLoadingImage.pdb
IFrame
Images
loading.gif
JavaScript
Properties
UploadFileWithLoadingImage.csproj.user
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="FileUploadWithProgressBar._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div  style="border-width:1px;border-bottom-style:solid;border-color:#F3F3F3">
        <iframe id="iUploadFile" frameborder="0" src="IFrame/FileUpload.aspx">
        
        </iframe>
        <img id="imgLoading" src="Images/loading.gif" style="display:none" />
    </div>
    </form>
</body>
</html>

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
Software Developer Readify
Australia Australia
No Biography provided

You may also be interested in...

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