I'm having problems adding a RadProgressBarElement real-time to a RadStatusStrip. When I add the progressbar to the statusstrip, it does not show.
code:
After my loop, the RadLabelElement shows in the status strip as designed. To add to my confusion, I can also add the progressbar at this point and it shows up as well???
Any idea what I'm doing wrong?
code:
radStatusStrip1.Items.Clear();
radProgressBarElement1.Text =
"Extracting Rollback Contents"
;
radProgressBarElement1.Maximum = 100;
radProgressBarElement1.Minimum = 0;
radProgressBarElement1.AutoSizeMode = RadAutoSizeMode.FitToAvailableSize;
radProgressBarElement1.Visibility = ElementVisibility.Visible;
radProgressBarElement1.Enabled =
true
;
radStatusStrip1.Items.Add(radProgressBarElement1);
radStatusStrip1.Update();
radStatusStrip1.Refresh();
// loops here and increments progress status
radStatusStrip1.Items.Clear();
RadLabelElement1.Text =
"Showing Contents of "
+ myDate +
" Rollback File"
;
radProgressBarElement1.Text =
""
;
radStatusStrip1.Items.Add(RadLabelElement1);
radStatusStrip1.Update();
radStatusStrip1.Refresh();
After my loop, the RadLabelElement shows in the status strip as designed. To add to my confusion, I can also add the progressbar at this point and it shows up as well???
Any idea what I'm doing wrong?