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