RadPageLayout
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TelerikToolboxCategory("Container")]
[ToolboxBitmap(typeof(RadPageLayout), "Toolbox.Icons.PageLayout.png")]
[EmbeddedSkin("PageLayout", typeof(RadPageLayout))]
public class RadPageLayout : WebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IMutableRendering, ISkinnableControl, IControl
Inheritance: objectControlWebControlRadPageLayout
Implements:
Inherited Members
Constructors
public RadPageLayout()
Properties
Gets or sets whether the embedded base stylesheet is enabled.
public bool EnableEmbeddedBaseStylesheet { get; set; }
Implements:
Gets or sets the grid type for the layout.
public GridType GridType { get; set; }
Staticgrid always has the same size (960px), regardless of the viewport size. This is the default value.Fixedgrid has a fixed size that depends on the current viewport.Fluiduses percentage based values and scales seamlessly from the smallest to the largest resolutions.
Gets or sets the Html tag that will be rendered for this element.
public TagName HtmlTag { get; set; }
Implements:
If the property is not set, it will return
Divelement.If the property is set to
None, only the element's content will be rendered.
Gets or sets whether the control should register with the script manager.
public bool RegisterWithScriptManager { get; set; }
Implements:
Gets the collection of top-level rows in the layout.
[PersistenceMode(PersistenceMode.InnerProperty)]
public LayoutRowCollection Rows { get; }
Toggles the visual grid guides. Do not use in production code!
public bool ShowGrid { get; set; }
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
When TagKey returns HtmlTextWriterTag.Unknown, the rendering can be customized to be any tag returned by TagName
This is needed to have HTML5 server rendering.
Methods
protected override void AddAttributesToRender(HtmlTextWriter writer)
Overrides:
Ensures that child controls are created. Not intended for use in code.
public void EnsureChildControlsCreated()
Implements:
Returns the preferred render mode for the specified browser.
public virtual RenderMode PreferredRenderMode(RenderModeBrowserAdaptor browser)
The browser adaptor.
Returns:The preferred RenderMode.
Implements:
protected virtual void RegisterCssReferences()
public override void RenderBeginTag(HtmlTextWriter writer)
Overrides:
protected override void RenderChildren(HtmlTextWriter writer)
Overrides:
public override void RenderEndTag(HtmlTextWriter writer)
Overrides: