Progressbar visibilty

3 posts, 0 answers
  1. raghda
    raghda avatar
    2 posts
    Member since:
    Jun 2008

    Posted 29 Jun 2008 Link to this post

    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. Mike
    Admin
    Mike avatar
    640 posts

    Posted 30 Jun 2008 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. raghda
    raghda avatar
    2 posts
    Member since:
    Jun 2008

    Posted 01 Jul 2008 Link to this post

    thnxxx it really helped:D
Back to Top