This is a migrated thread and some comments may be shown as answers.

Progressbar visibilty

2 Answers 116 Views
ProgressBar
This is a migrated thread and some comments may be shown as answers.
raghda
Top achievements
Rank 1
raghda asked on 30 Jun 2008, 01:56 AM
hey...
i'm using a progressbar located in a statusstrip; i just want it when finish loading ,it become unvisible....i'm using this code


adProgressBarElement1.Value1 = 0;

radProgressBarElement1.Text =

"";

radStatusStrip1.Refresh();

radLabelElement1.Visibility = Telerik.WinControls.

ElementVisibility.Hidden;

radStatusStrip1.Refresh();



but it never become unvisible
can any one help me ure=gently plz?????????????

2 Answers, 1 is accepted

Sort by
0
Mike
Telerik team
answered on 30 Jun 2008, 12:37 PM
Hi Raghda,

Thank you for bringing this question up. Indeed, since RadStatusStrip controls the visibility of its items internally, based on its size, hiding of items is a bit more difficult task than you would expect. In order to hide an item from the status bar you should temporary remove it from the StatusBar's Items collection.
Please find attached a sample application that demonstrates the approach for your convenience. We do realize this task is currently bit more complicated than needed and we are going to improve it for one of the next versions of RadControls.

Kind regards,
Mike
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
raghda
Top achievements
Rank 1
answered on 01 Jul 2008, 09:43 AM
thnxxx it really helped:D
Tags
ProgressBar
Asked by
raghda
Top achievements
Rank 1
Answers by
Mike
Telerik team
raghda
Top achievements
Rank 1
Share this question
or