Class RequiredClientResources
Renders client resources that are required for specified area.
Inheritance
Namespace: EPiServer.Framework.Web.WebControls
Assembly: EPiServer.Framework.dll
Version: 8.11.0Syntax
public class RequiredClientResources : Control
Constructors
RequiredClientResources()
Declaration
public RequiredClientResources()
Properties
RenderingArea
Gets or sets the corresponding rendering area that is used to filter required client resources that should be rendered by this control.
Declaration
public string RenderingArea { get; set; }
Property Value
Type | Description |
---|---|
System.String | The area. |
Methods
LoadControlState(Object)
Restores control-state information, such as RenderingArea, from a previous page request that was saved by the System.Web.UI.Control.SaveControlState method.
Declaration
protected override void LoadControlState(object savedState)
Parameters
Type | Name | Description |
---|---|---|
System.Object | savedState | An System.Object that represents the control state to be restored. |
OnInit(EventArgs)
Raises the System.Web.UI.Control.Init event.
Declaration
protected override void OnInit(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs object that contains the event data. |
RenderControl(HtmlTextWriter)
Outputs server control content to a provided System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
Declaration
public override void RenderControl(HtmlTextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.HtmlTextWriter | writer | The System.Web.UI.HtmlTextWriter object that receives the control content. |
SaveControlState()
Saves any server control state changes, such as RenderingArea, that have occurred since the time the page was posted back to the server.
Declaration
protected override object SaveControlState()
Returns
Type | Description |
---|---|
System.Object | Returns the server control's current state. If there is no state associated with the control, this method returns null. |