In the screen capture below I have a RadGridView in a RadCollapsiblePanel. I need to hide the border for both the CollapsiblePanel and the PanelContainer.
I tried the code below - which I found on another form post = but to no avail:
radCollapsiblePanel1.ControlsContainer.PanelContainer.BorderStyle = System.Windows.Forms.BorderStyle.None; radCollapsiblePanel1.ControlsContainer.PanelElement.Border.Visibility = ElementVisibility.Collapsed;
What am I doing wrong?
Thanks
Carl
Hi all,
I want to set the initial state of a radCollapsiblePanel to expanded or collapsed. Then, I want to associate an event handler to handle user interaction that can expand or collapse the panel. I perform some operations to set the initial state. When I attach the event handler for the collapsed state, the event is triggered even if the user has not interacted with the panel.
I don't understand why.
Suggestions
Regards
Alessandro
is it posssible to add a button to the header of a radcollapsiblepanel from the designer code ,if so can a anyone please guide me.
Hi,
I have two collapsible panels on top of each other.They both have a datagrid inside.
No matter what I do I cant get them to resize accordingly to row count/datagridsize.
What is the best way to go to achieve auto resizing with datagrids also resizing?
Hello I can't find how to programmatically add controls into a RadCollapsibleControl
From the documentation I thought I should add to the
CollapsiblePanelLayoutElement
But I do not find access to this element.
Thanks in advance
Pierre-Jean
I add RadCollapsiblePanel programmaticly to a form (Dock Top).
Is it possible to change the order of the CollapsiblePanel via Drag&Drop?
An alternative could be 2 Buttons (Up/Down) but D&D will be the best solution.
01.
public partial class Form1 : Form
02.
{
03.
public Form1()
04.
{
05.
InitializeComponent();
06.
RadCollapsiblePanel pn = new RadCollapsiblePanel();
07.
pn.Dock = DockStyle.Left;
08.
pn.ExpandDirection = RadDirection.Right;
09.
10.
pn.IsExpanded = false; <------ Is not working
11.
12.
this.Controls.Add(pn);
13.
14.
}
15.
}
I've a RadCollapsiblePanel that contains a radpanel (dockstyle.left) plus a radsplitcontainer (dockstyle.fill).
The radcollapsiblepanel sizing mode is set to .FitToContentHeight.
It collapses ok, but when it expands it seems to resize to the content height correctly but the contents aren't being restored with it. See attached file.
I've tried resetting the contained splitcontainer dock to botton, then fill, but that made no difference.