in

SABI-CSahrp

SABI's World of Csharp

This Blog

Syndication

Tags

Archives

Progress bar in ASP.NET

  • progress bar in ASP.NET

    Here i show you how to use progres bar in your asp.net application step by step First Open your visual Studio 2005 or Visual Studio 2008 after go to the file menu start a new website Select ASP.NET AJAX-Enabled Web Site then click Ok button Below you can see the source code Untitled Page
    Go to the deign view and select a progressbar.gif from your computer(you can download prograss animated image from net) and paste your solution explorer then Add UpdatePanel and UpdateProgress from Toolbox Under the From tag you can see the code like this

    After Finishng the design go to the code window of the Button then insert the below code to the Button Clcik System.Threading.Thread.Sleep(10000); label1.Text = "Page refreshed at" + DateTime.Today.ToLongDateString() + "" + DateTime.Now.ToLongTimeString(); When you click the button You can see Loading Progress bar After 10 second it will dispaly the current time and Date of your local system Cheers!! Sabith kp
    Posted Jul 15 2009, 06:20 AM by admin with no comments
    Filed under: ,
More Posts
Copyright@Sabithkp.com
Powered by Community Server (Non-Commercial Edition), by Telligent Systems