Telerik Forums
UI for WinForms Forum
1 answer
13 views

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

Nadya | Tech Support Engineer
Telerik team
 answered on 19 Mar 2024
0 answers
24 views

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

Alessandro
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 09 Jan 2024
3 answers
194 views

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. 

 

mansouri
Top achievements
Rank 1
Iron
 updated answer on 23 May 2022
3 answers
275 views
Hi,

Is there a way to hide the Expand/Collapse button and the recover the space it takes? I would be replacing its functionality with code that expands and collapses the panel, i.e. no need for the button..

Thank you
Ali
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Dec 2020
1 answer
228 views

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?

 

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 07 Apr 2020
16 answers
632 views
Hi all,

I am pretty sure it is very easy to achive but I just can't find it.

I have an application that uses quite a lot of CollapsiblePanels but it also uses Tabs and so the layout has a lot of borders that make the whole stuff look a bit... restless.
So I want to hide the border of the CollapsiblePanels without having to mess with the theme (the tool uses a theme manager and the user can switch between some of the custom themes) so I need to hide the borders in general.

How can I do that?

Kind regards,
Gabriele
Martin
Top achievements
Rank 1
 answered on 27 Nov 2019
7 answers
592 views

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

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Nov 2019
1 answer
84 views

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.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Nov 2019
20 answers
430 views


Hello Telerik Team,


I have a question about the radcollapsiblepanel. When

I create a new collapsiblepanel programmatically the isExpanded property is not

working.

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.  }



 



Is there something that I’m missing?





Kindest
regards,

Arif

Dimitar
Telerik team
 answered on 01 May 2019
9 answers
283 views

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.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Apr 2019
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
Buttons, RadioButton, CheckBox, etc
DropDownList
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
Menu
RichTextEditor
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
Tabstrip (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
GanttView
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
VirtualGrid
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
Rotator
TrackBar
MessageBox
CheckedDropDownList
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
Conversational UI, Chat
DateTimePicker
CAB Enabling Kit
TabbedForm
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ImageEditor
ScrollBar
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Barcode
Styling
ColorBox
PictureBox
Callout
VirtualKeyboard
FilterView
Accessibility
DataLayout
NavigationView
ToastNotificationManager
CalculatorDropDown
Localization
TimePicker
ValidationProvider
FontDropDownList
Licensing
BreadCrumb
ButtonTextBox
LocalizationProvider
Dictionary
Overlay
Security
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
Flyout
TaskbarButton
HeatMap
SlideView
PipsPager
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?