RadPane
Represents a pane within a RadSplitter control. Panes are the primary content containers in the splitter layout.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TelerikToolboxCategory("Container")]
[ToolboxBitmap(typeof(RadPane), "Toolbox.Icons.Splitter.png")]
[ClientScriptResource("Telerik.Web.UI.RadPane", "Telerik.Web.UI.Splitter.RadSplitterScripts.js")]
public class RadPane : SplitterPaneBase, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl
Inheritance: objectControlWebControlRadWebControlSplitterItemSplitterPaneBaseRadPane...
Implements:
Inherited Members
Constructors
public RadPane()
Properties
Sets/gets whether the pane is collapsed
[ClientControlProperty]
[ClientPropertyName("_collapsed")]
public bool Collapsed { get; set; }
The URL of the page to load inside the pane.
[ClientControlProperty]
public string ContentUrl { get; set; }
Use the ContentUrl property if you want to load external page into the pane content area.
Get/Set the Height of the pane.
[TypeConverter(typeof(UnitConverter))]
[ClientControlProperty]
[ClientPropertyName("_height")]
public override Unit Height { get; set; }
Overrides:
Sets/gets whether the pane is locked
[ClientControlProperty]
public bool Locked { get; set; }
Sets/gets the min height to which the pane can be resized
[ClientControlProperty]
public override int MinHeight { get; set; }
Overrides:
Sets/gets the min width to which the pane can be resized
[ClientControlProperty]
public override int MinWidth { get; set; }
Overrides:
Gets or sets a value indicating whether the page that is loaded through the ContentUrl property should be shown during the loading process, or a loading sign is displayed instead.
[ClientControlProperty]
[Browsable(true)]
[Bindable(true)]
public bool ShowContentDuringLoad { get; set; }
The default value is true.
Reference to the parent Splitter object
[Browsable(false)]
public RadSplitter Splitter { get; }
Methods
protected override void AddAttributesToRender(HtmlTextWriter writer)
Overrides:
Code moved into this method from OnPreRender to make sure it executed when the framework skips OnPreRender() for some reason
protected override void ControlPreRender()
Overrides:
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides:
Get the expanded Size of the pane, when the pane is collapsed. In case the Orientation of the splitter is Vertical, returns the expanded Height, otherwise, the expanded Width.
Loads the client state data
protected override void LoadClientState(Dictionary<string, object> clientState)
Overrides:
Set the expanded Size of the pane, when the pane is collapsed. In case the Orientation of the splitter is Vertical, sets the expanded Height, otherwise, the expanded Width.