RadProgress misbehaves when in an updatePanel (With example code!)

Thread is closed for posting
3 posts, 0 answers
  1. Greg
    Greg avatar
    4 posts
    Member since:
    Jul 2010

    Posted 18 May 2011 Link to this post

    I have a button in an updatepanel, with a RadProgressManager/Area thing going on. The Area is set with RegisterForSubmit="false" and the button has an onclientclicked="showProg", which is a function which calls getRadProgressManager().startProgressPolling();

    First click shows the progress bar, but when it's finished the progress bar disappears and then reappears very quickly (it should stay gone).

    Second click shows the completed progress bar from before, for the correct duration, then hides it (and it doesn't reappear). (it should show the correct progress sequence).

    Subsequent clicks behave as the second.

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head runat="server">
        <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
        <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <asp:UpdatePanel runat="server">
            <telerik:RadButton ID="btn1" runat="server" Text="Go!" OnClick="btn" OnClientClicked="showProg">
        <telerik:RadProgressManager ID="RadProgressManager1" Runat="server" RegisterForSubmit="false" />
        <telerik:RadProgressArea ID="RadProgressArea1" Runat="server">
        <script type="text/javascript">
            function showProg() {

    using System;
    using System.Threading;
    using Telerik.Web.UI;
    public partial class Default : System.Web.UI.Page
        protected void btn(object sender, EventArgs e)
            var prog = RadProgressContext.Current;
            for (int i = 0; i < 10; i++)
                prog.PrimaryPercent = (i+1) * 10;
                prog.CurrentOperationText = String.Format("Doing step {0} of 10", i + 1);
            prog.OperationComplete = true;

    (I would attach the zipped solution, but the attach file dialog only permits images)
  2. David
    David avatar
    10 posts
    Member since:
    Nov 2010
  3. Peter Filipov
    Peter Filipov avatar
    1028 posts

    Posted 24 May 2011 Link to this post

    Hello Greg,

    I was able to reproduce your issue. It has been forwarded to the development team for further investigation.

    Peter Filipov
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top