Hi, I have an import feature that I want to display progress while its running.
the import feature is located in a MdiChild
the progress bar is located in a radStatusStrip on the Parent form
here is the code I have and yet the Progress bar doesn't move untill after the loop is done.
int j = Textbox_InputText.Lines.Length;
(ss.Items[1] as RadProgressBarElement).Maximum = j;
int i;
for (i = 0; i < j; i++)
{
....Do import stuff
//I tried .Value++ also and same results
//(ss.Items[1] as RadProgressBarElement).Value1++;
(ss.Items[1] as RadProgressBarElement).PerformStepValue1();
}
PLEASE Help, I am extremely frustrated with this.
the import feature is located in a MdiChild
the progress bar is located in a radStatusStrip on the Parent form
here is the code I have and yet the Progress bar doesn't move untill after the loop is done.
int j = Textbox_InputText.Lines.Length;
(ss.Items[1] as RadProgressBarElement).Maximum = j;
int i;
for (i = 0; i < j; i++)
{
....Do import stuff
//I tried .Value++ also and same results
//(ss.Items[1] as RadProgressBarElement).Value1++;
(ss.Items[1] as RadProgressBarElement).PerformStepValue1();
}
PLEASE Help, I am extremely frustrated with this.