This project is read-only.

progress bar not work in updatepanel

Aug 18, 2009 at 3:47 PM


I found that,when I use the progress bar in updatePanel, the following code could work:

<asp:ScriptManager ID="ScriptMag1" runat="server"></asp:ScriptManager>
  <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <Triggers><asp:PostBackTrigger ControlID="btnAnimate" /></Triggers>
 <DotNetAge:Progressbar ID="Progressbar1" runat="server"  BackColor="BurlyWood"/>
  <div style="width:100%">
  <asp:TextBox ID="txtProgressValue" runat="server" Text="75"  Width="20%"/>
      <asp:Button ID="btnAnimate" runat="server" Text="Apply" Width="10%" 

C# code behind:

     protected void btnAnimate_Click(object sender, EventArgs e)
            int progressValue = 50;

                progressValue = int.Parse(this.txtProgressValue.Text);
            catch { }

            this.Progressbar1.Value = progressValue;

But when I use a use a 'AsyncPostBackTrigger' in the trigger ,the progress bar not work.
Could you tell me how to fix this problem?
Aug 18, 2009 at 4:59 PM

I remember i fix this bug in beta version. I need to test your code first.I will reply this problem later.

Aug 18, 2009 at 6:47 PM

I just want to say:it's a great job.  There are so many jQuery plugin ,so developers can intergrated those excellent feathures to asp,net  with your DJ Web control help..

My DJ library is not the newest  one. As u said, this issue has been fixed in the latest version.  Sorry .

By the way, I'd like to add a DNA.UI.Startkit in your DJ web control. The project will have some examples, Do you think this is a necessary work?

If u are interested in it, I will send the sorce code to u as soon as I finish it.

Waiting for your relay,


Aug 19, 2009 at 4:30 PM

That's great! You can mail me the source code later.