New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

RadPane

Class

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:

C#
[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: IAttributeAccessorIComponentIControlIControlBuilderAccessorIControlDesignerAccessorIControlResolverIDataBindingsAccessorIDisposableIExpressionsAccessorIParserAccessorIPostBackDataHandlerIScriptControlISkinnableControlIUrlResolutionService...

Inherited Members SplitterPaneBase.DescribeClientProperties(IScriptDescriptor)SplitterPaneBase.DescribeClientEvents(IScriptDescriptor)SplitterPaneBase.MaxWidthSplitterPaneBase.MaxHeightSplitterPaneBase.ScrollingSplitterPaneBase.OnClientCollapsedSplitterPaneBase.OnClientBeforeCollapseSplitterPaneBase.OnClientCollapsingSplitterPaneBase.OnClientExpandedSplitterPaneBase.OnClientBeforeExpandSplitterPaneBase.OnClientExpandingSplitterPaneBase.OnClientResizedSplitterPaneBase.OnClientBeforeResizeSplitterPaneBase.OnClientResizingSplitterPaneBase.PersistScrollPositionSplitterItem.EnableEmbeddedSkinsSplitterItem.EnableEmbeddedBaseStylesheetSplitterItem.IndexWebControl.ApplyStyle(Style)WebControl.CopyBaseAttributes(WebControl)WebControl.CreateControlStyle()WebControl.LoadViewState(object)WebControl.TrackViewState()WebControl.MergeStyle(Style)WebControl.Render(HtmlTextWriter)WebControl.RenderBeginTag(HtmlTextWriter)WebControl.RenderEndTag(HtmlTextWriter)WebControl.RenderContents(HtmlTextWriter)WebControl.SaveViewState()WebControl.AccessKeyWebControl.AttributesWebControl.BackColorWebControl.BorderColorWebControl.BorderWidthWebControl.BorderStyleWebControl.ControlStyleWebControl.ControlStyleCreatedWebControl.CssClassWebControl.DisabledCssClassWebControl.StyleWebControl.EnabledWebControl.EnableThemingWebControl.FontWebControl.ForeColorWebControl.HasAttributesWebControl.IsEnabledWebControl.SupportsDisabledAttributeWebControl.SkinIDWebControl.TabIndexWebControl.TagKeyWebControl.TagNameWebControl.ToolTipControl.ResolveAdapter()Control.HasEvents()Control.GetRouteUrl(object)Control.GetRouteUrl(string, object)Control.GetRouteUrl(RouteValueDictionary)Control.GetRouteUrl(string, RouteValueDictionary)Control.GetUniqueIDRelativeTo(Control)Control.ApplyStyleSheetSkin(Page)Control.OnDataBinding(EventArgs)Control.DataBind()Control.DataBind(bool)Control.DataBindChildren()Control.AddParsedSubObject(object)Control.EnsureID()Control.OnInit(EventArgs)Control.ClearChildState()Control.ClearChildControlState()Control.ClearChildViewState()Control.ClearEffectiveClientIDMode()Control.ClearCachedClientID()Control.Focus()Control.LoadControlState(object)Control.MapPathSecure(string)Control.OpenFile(string)Control.OnLoad(EventArgs)Control.OnPreRender(EventArgs)Control.BuildProfileTree(string, bool)Control.SaveControlState()Control.RenderChildren(HtmlTextWriter)Control.RenderControl(HtmlTextWriter)Control.RenderControl(HtmlTextWriter, ControlAdapter)Control.OnUnload(EventArgs)Control.Dispose()Control.RaiseBubbleEvent(object, EventArgs)Control.OnBubbleEvent(object, EventArgs)Control.AddedControl(Control, int)Control.CreateControlCollection()Control.CreateChildControls()Control.ResolveUrl(string)Control.ResolveClientUrl(string)Control.FindControl(string)Control.FindControl(string, int)Control.GetDesignModeState()Control.HasControls()Control.IsLiteralContent()Control.EnsureChildControls()Control.RemovedControl(Control)Control.SetDesignModeState(IDictionary)Control.SetRenderMethodDelegate(RenderMethod)Control.ClientIDModeControl.ClientIDControl.ClientIDSeparatorControl.ContextControl.AdapterControl.DesignModeControl.EventsControl.IDControl.IsChildControlStateClearedControl.EnableViewStateControl.ViewStateModeControl.IsViewStateEnabledControl.NamingContainerControl.IdSeparatorControl.LoadViewStateByIDControl.PageControl.RenderingCompatibilityControl.TemplateControlControl.ParentControl.TemplateSourceDirectoryControl.AppRelativeTemplateSourceDirectoryControl.SiteControl.VisibleControl.UniqueIDControl.HasChildViewStateControl.ControlsControl.ValidateRequestModeControl.ViewStateControl.ViewStateIgnoresCaseControl.ChildControlsCreatedControl.IsTrackingViewStateControl.DisposedControl.DataBindingControl.InitControl.LoadControl.PreRenderControl.Unloadobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public RadPane()

Properties

Sets/gets whether the pane is collapsed

C#
[ClientControlProperty]
[ClientPropertyName("_collapsed")]
public bool Collapsed { get; set; }

The URL of the page to load inside the pane.

C#
[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.

C#
[TypeConverter(typeof(UnitConverter))]
[ClientControlProperty]
[ClientPropertyName("_height")]
public override Unit Height { get; set; }

Overrides: RadWebControl.Height

Sets/gets whether the pane is locked

C#
[ClientControlProperty]
public bool Locked { get; set; }

Sets/gets the min height to which the pane can be resized

C#
[ClientControlProperty]
public override int MinHeight { get; set; }

Overrides: SplitterPaneBase.MinHeight

Sets/gets the min width to which the pane can be resized

C#
[ClientControlProperty]
public override int MinWidth { get; set; }

Overrides: SplitterPaneBase.MinWidth

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.

C#
[ClientControlProperty]
[Browsable(true)]
[Bindable(true)]
public bool ShowContentDuringLoad { get; set; }
Property Value:

The default value is true.

Reference to the parent Splitter object

C#
[Browsable(false)]
public RadSplitter Splitter { get; }

Get/Set the Width of the pane.

C#
[TypeConverter(typeof(UnitConverter))]
[ClientControlProperty]
[ClientPropertyName("_width")]
public override Unit Width { get; set; }

Overrides: RadWebControl.Width

Methods

C#
protected override void AddAttributesToRender(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: RadWebControl.AddAttributesToRender(HtmlTextWriter)

Code moved into this method from OnPreRender to make sure it executed when the framework skips OnPreRender() for some reason

C#
protected override void ControlPreRender()

Overrides: RadWebControl.ControlPreRender()

C#
protected override void DescribeComponent(IScriptDescriptor descriptor)
Parameters:descriptorIScriptDescriptor

Overrides: SplitterPaneBase.DescribeComponent(IScriptDescriptor)

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.

C#
public Unit GetExpandedSize()
Returns:

Unit

Loads the client state data

C#
protected override void LoadClientState(Dictionary<string, object> clientState)
Parameters:clientStateDictionary<string, object>

Overrides: SplitterPaneBase.LoadClientState(Dictionary<string, object>)

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.

C#
public void SetExpandedSize(Unit value)
Parameters:valueUnit