Click here to Skip to main content
Licence 
First Posted 16 Jan 2006
Views 20,679
Bookmarked 10 times

A Simple Progress Bar

By | 16 Jan 2006 | Article
Progress bar that shows status dynamically.

Sample Image

Introduction

This article illustrates a progress bar that updates itself based on a value changed in a dropdown.

Background

I designed this progress bar to be as simple as possible, without using any third party tool. Why use third party tools if we can easily create it otherwise?

I think this is one of the simplest progress bars possible.

Using the code

The following code snippet illustrates how the progressbar can be used:

int numcells = ddl.Items.Count ;//* 2; //Dynamic 
int userdefcell=Convert.ToInt32(ddl.SelectedItem.Value); 
dynaTableyat.BorderWidth=1; TableRow r1 = new TableRow(); 
TableHeaderCell TH0=new TableHeaderCell(); 
r1.Width=300; 
dynaTableyat.Width=150 ; 

if(DropDownList1.Items.Count > 10) 
{
    dynaTableyat.Width=150 + ddl.Items.Count * 10 ;
} 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Member 2588508

Web Developer

India India

Member

Well i am into software development for more than 2 years ,i a have been into hard core development on DotNet during these years and continuing that.
 

Well something about me i am half ,surprised i have got my twin also which makes me full hehe.
 
He is also into DotNet With Tridion CMS his email is vibhavg@gmail.com
 
With Regards
 
[Yatharth]
 
Email: yatharth@gmail.com

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionJoke? PinmemberZoran Gelic1:44 13 May '09  
GeneralA cool progress bar with animated circles PinmemberOwfAdmin9:26 5 Aug '07  
Generalanother stylish progress bar control PinmemberRamesh Soni22:30 7 Jul '07  
GeneralWell done!!! Pinmemberprimey16:21 1 Oct '06  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web03 | 2.5.120517.1 | Last Updated 16 Jan 2006
Article Copyright 2006 by Member 2588508
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid