ASP.NET - Help with panel ?
Asked By miho stumi on 26-Jan-12 05:36 AM
Hi i got css:
background: url(percentage-bg.png) no-repeat left center;
margin: 0 auto;
background: url(progress.png) no-repeat left center;
width: 0%; /* SET THIS TO GET THE DESIRE LEVEL */
and in code i did something like this:
protected void Button1_Click(object sender, EventArgs e)
P2.Width = int.Parse(TextBox1.Text);
but something is wrong because when i write 50% in textbox and click button progress bar was fill in only in 1/8 length,how can i change it, example for 50% it will fill in 1/2 length ?
Srikanth K replied to miho stumi on 26-Jan-12 06:16 AM
I think it is better refer this links for Creating the Progress bar Percentages in ASP.NET
Refer these links for ready made free file-upload progress bar control with full source code.
Below is a very useful article describing the same scenario.