2008Q2 RadButtonElement reappears when RadToolStripItem is moved during runtime

Thread is closed for posting
2 posts, 0 answers
  1. Jack
    Jack avatar
    2 posts
    Member since:
    Sep 2008

    Posted 09 Sep 2008 Link to this post


    The following issue occurs with 2008Q2 version of the toolstrip.

    I have set have a toolbar with more than one RadToolStripItems. These items have some RadButtonElements placed upon them.

    During the application life cycle, some of these buttons are hidden by setting the Visibility property to ElementVisibility.Hidden

    However once you move the RadToolStripItem containing the hidden button during runtime, because for example you want to reorder your toolstrip, the button suddenly reappears.

    Please notifify me of your findings.

    Kind regards,

  2. Boyko Markov
    Boyko Markov avatar
    610 posts

    Posted 12 Sep 2008 Link to this post

    Hi Jack,

    Thank you for writing us.

    RadToolStripItem has a specific overflow behavior of its children elements. When you drag and drop a toolstrip item and there is not enough space for a child element, the child element goes into hidden state. If you increase the size of the toolstrip item, the child element goes to visible state. Because of this, the behavior to custom set the visibility of any children elements of RadToolStripItem is not supported.

    This nevertheless sounds like a good feature and we will consider redesigning RadToolStrip to support this.

    If you have questions please feel free to write me.

    Best wishes,
    Boyko Markov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top