Click or drag to resize

ControlResources Class

Implements control resource loader.
Inheritance Hierarchy
System.Web.UIControl
  Dynamicweb.ControlsControlResources

Namespace:  Dynamicweb.Controls
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
public class ControlResources : Control

The ControlResources type exposes the following members.

Constructors
  NameDescription
Public methodControlResources
Initializes a new instance of the ControlResources class
Top
Properties
  NameDescription
Public propertyCombineOutput
Gets or sets value indicating whether to combine and compress output.
Public propertyConditions
Gets the collection of conditions that specifies how to handle particular resources.
Public propertyIncludeClientSideSupport
Gets or sets value indicating whether to include client-side support for this object.
Public propertyIncludeDynamicwebScreen
Gets or sets value indicating whether to include Dynamicweb Screen Javascript library.
Public propertyIncludejQuery
Gets or sets value indicating whether to include jQuery Javascript library.
Public propertyIncludeMaxLength
Gets or sets value indicating whether to include MaxLength Javascript library.
Public propertyIncludePrototype
Gets or sets value indicating whether to include Prototype Javascript library.
Public propertyIncludeRequireJS
Gets or sets value indicating whether to include RequireJS Javascript library.
Public propertyIncludeScriptaculous
Gets or sets value indicating whether to include Scriptaculous Javascript library.
Public propertyIncludeUIStylesheet
Gets or sets value indicating whether to include main UI stylesheet.
Public propertyIncludeUtilities
Gets or sets value indicating whether to include library with utility classes for this object.
Public propertyItems
Gets the collection of resources that should be appended to the output of this instance.
Public propertyMergeOutput
Gets or sets value indicating whether to merge control output with output from previous calls to the same control (even using different control instances).
Protected propertyUrlHelper
Gets the URL helper.
Top
Methods
  NameDescription
Public methodStatic memberAddContentBlock
Adds new block of raw content to the current page output.
Public methodStatic memberAddPredefinedResource(ControlResourcesPredefinedResource)
Adds new predefined resource to the current request.
Public methodStatic memberAddPredefinedResource(ControlResourcesPredefinedResource, String)
Adds new predefined resource to the current request.
Public methodStatic memberAddResourceFile
Adds new resource file to the current request.
Public methodStatic memberAddScriptBlock
Adds new <script> block to the current page output.
Public methodStatic memberAddStyleBlock
Adds new <style> block to the current page output.
Public methodStatic memberBlockResources
Prevents all the instances of the given control from loading resources.
Protected methodCheckProperties
Checks control properties and adds corresponding predefined resources.
Public methodStatic memberClearOutput
Removes any resource includes from the entry page output.
Public methodEmbed
Embeds new resource into the page.
Public methodEmbedRange
Embeds a set of resources into the page.
Public methodStatic memberGetPageInstance
Returns an instance of the handler defined on a current page.
Public methodStatic memberGetResourceLocation
Retrieves resource location path.
Public methodHasResolution
Determines whether specified resolution is defined on a specified resource.
Protected methodOnInit
Raises "Init" event.
Public methodRenderControl
Renders control.
Top
Remarks