Click here to Skip to main content
15,879,535 members
Articles / Web Development / ASP.NET

Customizable 'Loading' Control for Web Applications with Designer Support

Rate me:
Please Sign up or sign in to vote.
4.87/5 (50 votes)
7 Jan 2010CPOL4 min read 72.9K   1.5K   96  
Just drag n drop of a control to show 'in process' indication in a Web application
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="NormalSample1.aspx.cs" Inherits="NormalSample1" %>
<%@ Register Assembly="LoadingControl" Namespace="LoadingControl" TagPrefix="CustomControl" %>

<!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>Test Page - Normal flow</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <CustomControl:Loading ID="Loading1" runat="server" TextLocation="TextBeforeImage" TextVAlignment="Top" Font-Overline="True" BackColor="#FFFFC0" Font-Bold="True" Font-Italic="True" Font-Names="Tahoma" Font-Size="Medium" ForeColor="Brown" Font-Strikeout="True" Font-Underline="True" LoadingImagePath="Images/Loading.gif" ToolTip="Page is loading..." LoadingText="Custom Loading..." HorizontalAlignment="Center" />        
        <br /><asp:Label ID="Label1" runat="server" Text="Label" Font-Names="Tahoma"></asp:Label><br />
        <asp:Button ID="Button1" runat="server" Text="Button" />
    </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)


Written By
Architect Intuit India
India India


A software professional for more than 17+ years building solutions for Web and Desktop applications.

Currently working at Intuit India.

Website: Learn By Insight
Github: Sandeep Mewara
LinkedIn: Sandeep Mewara

Strongly believe in learning and sharing knowledge.



Comments and Discussions