How to resize the space between 2 radPanelBarGroupElement

5 posts, 0 answers
  1. Barkha
    Barkha avatar
    29 posts
    Member since:
    Oct 2007

    Posted 11 Oct 2007 Link to this post

    Hi All,

    Can someone please tell me how to set the size of the space ( I think content panel ) between 2 radPanelBarGroupElement in the readPanelBar control.
    The GroupStyle choose is ListBar.
    Also I was creating simple RadPanelBar control on a form and was trying the example given in the QuickStart for Telerik RandControls for WindForms Q2 2007 , and I could not get the "Contacts" RadPanelBarGroupElement to be collapsed. Everytime I run the application it is showing up as expanded.

    Quick reply would be appreciated.

    Thanks
    Rupa
  2. Jordan
    Admin
    Jordan avatar
    547 posts

    Posted 12 Oct 2007 Link to this post

    Hi barkha,

    Thank you for writing.

    Currently the only way to set the spacing between groups is by using the SpacingBetweenGroups property of RadPanelBar in the following way:

    this.radPanelBar1.SpacingBetweenGroups = 20; 

    A group's initial state can be set to "collapsed" by using the CollapseGroup method like:

    this.radPanelBarGroupElement1.CollapseGroup(); 

    Hope that helps. If you have any additional questions, please do not hesitate to contact us.

    All the best,
    Jordan
    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. Barkha
    Barkha avatar
    29 posts
    Member since:
    Oct 2007

    Posted 12 Oct 2007 Link to this post

    Hi Jordan,

    I really appreciate your quick response. Infact this will definitely help us to go for Telerik product. Right now am evaluating the tool and I have a requirement to design winforms with panelbar and some other controls and was wondering how easy it would be to use third party tool and and how can we benefit from you support.

    I have some other questions for you:

    1) Do you conduct any training for endusers to use the Telerik controls?
    2) Regarding RadPanelBar :

    I couldn't get the following working for me
    this.radPanelBar1.SpacingBetweenGroups = 20; 

    I have 4 radButtonElement[1..4] inside radPanelBarGroupElement1 and no radButtonElement inside radPanelBarGroupElement2.
    How do I make sure that on click of radPanelBarGroupElement1 , the first group opens only till the size of the 4 items inside it?
    And if there is nothing on radPanelBarGroupElement2, how do I make sure that the content pane is not displayed?

    Thanks for your help in advance.

    -Barkha
  5. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 15 Oct 2007 Link to this post

    Hello barkha,

    Indeed. the SpacingBetweenGroups  property works only for the ExplorerBarStyle and the  VS2005ToolBox style. For these styles the group's height is equal to the content height. We have a very specific layout for the ListBar and the OutLookNavPane style and that is the reason because the SpacingBetweenGroups property doesn't take any effect. Please take a look at the Layout example of RadPanelBar.

    As to training, no we do not provide such at the moment, although this is on our plans for the end of the year. We will provide some type of self educating course which will help you get started. Until then you can review the provided documentation, as it is a very good place to start with our controls. You can also review the provided examples as they will show you how to implement the logic and feature you are after. We will also be glad to help if you have further questions.


    Regards,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Barkha
    Barkha avatar
    29 posts
    Member since:
    Oct 2007

    Posted 15 Oct 2007 Link to this post

    thanks Jordhan.

    Your help is appreciated. I have few more questions to ask but I will open another thread for it.

    -Barkha
Back to Top
UI for WinForms is Visual Studio 2017 Ready