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

Another Simple Wait Page

Rate me:
Please Sign up or sign in to vote.
4.50/5 (7 votes)
11 Oct 2006CPOL2 min read 75.2K   716   56  
An article to demonstrate to use asynchronous delegate call and client script callback to build long wait page
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class _Default : System.Web.UI.Page {
    protected void Page_Load (object sender, EventArgs e) {

    }

    protected void btnSubmit_Click (object sender, EventArgs e) {
        if (!this.IsValid) {
            return;
        }
    }

    public int Minute {
        get {
            int minute = 0;
            int.TryParse(txtMinute.Text, out minute);
            return minute;
        }
    }
}

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
Canada Canada
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions