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

How to resize the space between 2 radPanelBarGroupElement

4 Answers 157 Views
Panelbar (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Barkha
Top achievements
Rank 1
Barkha asked on 12 Oct 2007, 12:13 AM
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

4 Answers, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 12 Oct 2007, 11:26 AM
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
0
Barkha
Top achievements
Rank 1
answered on 12 Oct 2007, 08:16 PM
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
0
Boyko Markov
Telerik team
answered on 15 Oct 2007, 02:16 PM
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
0
Barkha
Top achievements
Rank 1
answered on 15 Oct 2007, 09:01 PM
thanks Jordhan.

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

-Barkha
Tags
Panelbar (obsolete as of Q2 2010)
Asked by
Barkha
Top achievements
Rank 1
Answers by
Jordan
Telerik team
Barkha
Top achievements
Rank 1
Boyko Markov
Telerik team
Share this question
or