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 ;
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 ;
}
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