Note there's no Intellisense on this child item as it is rendered as an HtmlGenericControl and parsed into this object. Hence the properties below must be manually typed in and are not visible to Intellisense.
System.Object
Westwind.Web.Controls.ScriptItem
public class ScriptItem : object
Member | Description | |
---|---|---|
Constructor | ||
AllowMinScript | Determines whether script looks for optimized .min.js file in non-debug mode | |
RenderMode | Determines how the script is rendered | |
Resource | If specified loads a 'known' resource by name from resources rather than the script source. This allows using a src url for getting debugging but using a WebResource for ensuring the latest version is always used at runtime. | |
ResourceAssembly | Resource assembly - maps to Assembly keyword | |
ResourceControl | A reference to a control in the assembly that holds the resource. This is used in lieu of a type so you can specify a control that is in the same assembly. Specify an ID in markup or a reference in code. | |
ResourceControlType | Instead of providing the Id of a control you can also pass the type of a control/object housed in the assembly. The type is used for getting the assembly to retrieve resources from. | |
Src | The src location of the file. This path can include ~ pathing |