RadSlidingZone
Represents a container for sliding panes (RadSlidingPane) in a RadSplitter control.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TelerikToolboxCategory("Container")]
[ToolboxBitmap(typeof(RadSlidingZone), "Toolbox.Icons.Splitter.png")]
[ClientScriptResource("Telerik.Web.UI.RadSlidingZone", "Telerik.Web.UI.Splitter.RadSlidingZoneScripts.js")]
public class RadSlidingZone : SplitterItemsContainer, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, ISkinnableControl, IControl, IPostBackDataHandler
Inheritance: objectControlWebControlRadWebControlSplitterItemsContainerRadSlidingZone...
Implements:
Inherited Members
Constructors
public RadSlidingZone()
Properties
Sets/gets whether the pane should be clicked in order to open
[ClientControlProperty]
public bool ClickToOpen { get; set; }
Sets/gets the id of the pane that is will be displayed docked
[ClientControlProperty]
[ClientPropertyName("_initiallyDockedPaneId")]
public string DockedPaneId { get; set; }
Gets or sets the value, indicating whether to render the link to the embedded base stylesheet of the control or not.
public override bool EnableEmbeddedBaseStylesheet { get; }
Overrides:
If EnableEmbeddedBaseStylesheet is set to false you will have to register the needed control base CSS file by hand.
Gets or sets the value, indicating whether to render links to the embedded skins or not.
public override bool EnableEmbeddedSkins { get; }
Overrides:
If EnableEmbeddedSkins is set to false you will have to register the needed CSS files by hand.
Sets/gets the id of the pane that is will be expanded
[ClientControlProperty]
[ClientPropertyName("_initiallyExpandedPaneId")]
public string ExpandedPaneId { get; set; }
Sets/gets the height of the sliding zone
[ClientControlProperty]
[ClientPropertyName("_height")]
public override Unit Height { get; set; }
Overrides:
Gets or sets a value indicating the client-side event handler that is called when the RadSlidingZone control is initialized.
[ClientControlEvent]
[ClientPropertyName("load")]
public string OnClientLoad { get; set; }
A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.
Two parameters are passed to the handler:
- sender, the RadSlidingZone that fired the event
- args
This event cannot be cancelled.
[Obsolete("This property is now obsolete. Please use the OnClientLoad property instead.", false)]
public string OnClientLoaded { get; set; }
Sets/gets the step in px in which the resize bar will be moved when dragged.
[ClientControlProperty]
public int ResizeStep { get; set; }
Sets/gets the direction in which the panes will slide
[ClientControlProperty]
[ClientPropertyName("_slideDirection")]
public SplitterSlideDirection SlideDirection { get; set; }
Sets/gets the duration of the slide animation in milliseconds.
[ClientControlProperty]
public int SlideDuration { get; set; }
Animation is not performed when the RadSlidingPane's DockOnOpen property is set to true.
Reference to the parent Splitter object
[Browsable(false)]
public RadSplitter Splitter { get; }
Methods
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 DescribeClientEvents(IScriptDescriptor descriptor)
Overrides:
protected override void DescribeClientProperties(IScriptDescriptor descriptor)
Overrides:
Retrieves a RadSlidingPane by its ID from the items collection.
public RadSlidingPane GetPaneById(string paneId)
The ID of the pane to retrieve.
Returns:The RadSlidingPane with the specified ID, or null if not found.
Gets a list of all RadSlidingPane items contained in this RadSlidingZone.
Loads the client state data
protected override void LoadClientState(Dictionary<string, object> clientState)
Overrides:
protected override void RegisterInitializeScriptWithScriptManager()
Overrides: