This question is locked. New answers and comments are not allowed.
Andrew Bromfield
Top achievements
Rank 2
Andrew Bromfield
asked on 06 Jan 2007, 10:21 PM
Hello Again,
This time my problem lies with the PanelBar's ContentPanel. I set the EnableHostControlMode property (in the Behavior section) to True as im told enabling me to drag elements into each panel. The only problem is that the Container that appears when i set EnableHostControlMode to True, wont dock to the size of it's parent panel. It stays at at 50x50px.
Even stranger is that for my 1st item in the panelBar, the ContentPanel's location is 0,0 but over the bar itself. So it doesn't sit in its intended space properly. The ContentPanel in the 2nd Item is located at the proper 0,0 but still wont resize properly despite all efforts.
Is this a serious bug, or am I just missing something incredibly simple?
This time my problem lies with the PanelBar's ContentPanel. I set the EnableHostControlMode property (in the Behavior section) to True as im told enabling me to drag elements into each panel. The only problem is that the Container that appears when i set EnableHostControlMode to True, wont dock to the size of it's parent panel. It stays at at 50x50px.
Even stranger is that for my 1st item in the panelBar, the ContentPanel's location is 0,0 but over the bar itself. So it doesn't sit in its intended space properly. The ContentPanel in the 2nd Item is located at the proper 0,0 but still wont resize properly despite all efforts.
Is this a serious bug, or am I just missing something incredibly simple?
5 Answers, 1 is accepted
0
Hello Andrew,
Chris
the telerik team
The default size of the ContentPanel is set to 50x50px. The ContentPanel represents a default panel with AutoSize property set to true and its AutoSizeMode property is set to grow and shrink. You can drag a control on that 50x50px area and then you can manually change the location and the size of the control which you had put on the content area and the ContentPanel will grow or shrink depending on the size and location of that control. Normally you can’t resize the content area because its size is set dynamically by the ContentPanel.
This behavior will be fixed for the SP1 of r.a.d.controls for WinForms which is scheduled for the 15th of January.
All the best,This behavior will be fixed for the SP1 of r.a.d.controls for WinForms which is scheduled for the 15th of January.
Chris
the telerik team
0
Andrew Bromfield
Top achievements
Rank 2
answered on 09 Jan 2007, 04:28 PM
Thanks for the reply and insight, only problem is it didnt address the problem with the 1st content panel sitting on top of the Bar where each panel's title text is displayed. Also my content panel was only scaling to about width of its parent form in its normal state which is 800px X 400px. So in other words, it would auto scale until I maximize my program (1680x1024). I guess I should just wait the 6 days for SP1 and keep my fingers crossed that all these fixes are included?
0
Hello Andrew,
You can add ContentPanels by setting the EnableHostControlMode property of any group to true. These ContentPanels will fit to the available space in the ContentArea of the current group and you won't be able to resize them manually, because their size and location will be depending on the size and location of the group.
For Example: If you resize your RadPanelBar control then your ContentPanels will be resized too.
We plan to enhance this behavior and you'll be able to see the result in SP1.
Best wishes,
Chris
the telerik team
You can add ContentPanels by setting the EnableHostControlMode property of any group to true. These ContentPanels will fit to the available space in the ContentArea of the current group and you won't be able to resize them manually, because their size and location will be depending on the size and location of the group.
For Example: If you resize your RadPanelBar control then your ContentPanels will be resized too.
We plan to enhance this behavior and you'll be able to see the result in SP1.
Best wishes,
Chris
the telerik team
0
Matt
Top achievements
Rank 1
answered on 11 Jun 2007, 12:38 PM
I cannot get this to work.
I have a panel bar. One of the goupd I've set EnableHostControlMode on.
I drag a RadListBox into the little rectangle and it appears squashed with two scrollbars.
I add a couple of list items via the items collection.
The list always appears squashed and small. It never sizes to the full size of the panelbargroup. I've tried all variations and combinations of docking, sizing I can think of.
What am I to do?
(Version is Telerik RadControls for WinForms Q1 2007)
Matthew Phillips
I have a panel bar. One of the goupd I've set EnableHostControlMode on.
I drag a RadListBox into the little rectangle and it appears squashed with two scrollbars.
I add a couple of list items via the items collection.
The list always appears squashed and small. It never sizes to the full size of the panelbargroup. I've tried all variations and combinations of docking, sizing I can think of.
What am I to do?
(Version is Telerik RadControls for WinForms Q1 2007)
Matthew Phillips
0
Hi Matt,
Could you please send us a sample project which demonstrates that behavior? You can do so in a new support ticket. We will also appreciate some additional information about the panel bar style you currently use.
I would suggest downloading the Q1 SP1 version of RadControls for WinForms as we have fixed many issues related to RadPanelBar since the Q1 release.
Anyway, it is normal that your list box is not sized to the full size of the panelbar group, because you could put more controls in the group's panel.
I'll be looking forward for your reply and your sample project.
Greetings,
Ray
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Could you please send us a sample project which demonstrates that behavior? You can do so in a new support ticket. We will also appreciate some additional information about the panel bar style you currently use.
I would suggest downloading the Q1 SP1 version of RadControls for WinForms as we have fixed many issues related to RadPanelBar since the Q1 release.
Anyway, it is normal that your list box is not sized to the full size of the panelbar group, because you could put more controls in the group's panel.
I'll be looking forward for your reply and your sample project.
Greetings,
Ray
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center