RadTitleBar Button Problem

2 posts, 1 answers
  1. Ozcan Oksuz
    Ozcan Oksuz avatar
    9 posts
    Member since:
    Feb 2010

    Posted 20 Apr 2010 Link to this post


    I am trying to hide the close, minimize, maximize buttons in a RadTitleBar with the following code.
    _titleBar.TitleBarElement.CloseButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;  
    _titleBar.TitleBarElement.MaximizeButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;  
    _titleBar.TitleBarElement.MinimizeButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed 

    Close button is removed but minimize and maximize buttons remain. Is there a bug in the RadTitleBar or
    am I doing something wrong.

    Please help
    Burhan Eyimaya
  2. Answer
    Deyan avatar
    2147 posts

    Posted 20 Apr 2010 Link to this post

    Hello Ozcan,

    Thanks for contacting us and for your question.

    I have investigated the case and was able to reproduce the undesired behavior. I would like to inform you that the issue is already addressed and the fix for it will be available in the upcoming Q1 2010 SP2 we plan to release soon.

    For the time being, you can use the following workaround:

    this.radTitleBar1.TitleBarElement.SystemButtons.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

    This will simply hide the layout panel that holds the system buttons making them also invisible.

    I hope this helps.

    Do not hesitate to get back to us in case you have further questions or need assistance.

    Sincerely yours,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top