Progress Bar

Olá, My name is Fernanda, lives in Brazil. I have a system in ASP.NET C # Framework 2.0.

I used the Progresse Bar so that when the system to start to preecher a graph (ChartWebControl1) the Progress Bar starts to count. The problem is that when the Progress Bar finishes the system it fills the graph, but does not leave visible.

#region Configura gráfico com dados.
///
/// Configura gráfico com dados.
///

///
///
protected void CallbackPanel1_CallbackRefresh(object sender, Syncfusion.Web.UI.WebControls.CancellableCallbackEventArgs e)
{
try
{
this.Progress = 0;

while (true)
{
// Simulating a long operation, by making this thread to sleep for 1sec.
System.Threading.Thread.Sleep(1000);
this.Progress += 10;

if (this.Progress >= 100)
break;
}

this.Progress = 100;

// This script will be processed on the client side after the callback returns the information
this.CallbackPanel1.AfterCallbackResponseProcessedScript = "document.getElementById('btnFiltrar').disabled=false;";

PresentsChart();

}
catch (Exception ex)
{
throw ex;
}


}
#endregion

1 Reply

AD Administrator Syncfusion Team December 14, 2006 12:54 AM UTC

Hi Fernanda,

I am afraid to reproduce the problem you mentioned.

Please refer the attached sample in which different Chart Dash style is applied to ChartWebControl during callback and Callback refresh event progress in indicated by ProgressBar control.

Please let us know if you still experience the issue.
This sample is created with 4.4 version.
ProgressWithChart.zip

Thank you for using syncfusion products.

Regards,
Sureshsekaran.

Loader.
Up arrow icon