Class ClientScript
Inheritance
System.Object
ClientScript
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 10.8.0Syntax
public class ClientScript
Constructors
ClientScript()
Declaration
public ClientScript()
Methods
RegisterClientScriptInclude(Page, Type, String, String)
Registers the client script include.
Declaration
public static void RegisterClientScriptInclude(Page page, Type type, string key, string url)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Page | page | The page. |
System.Type | type | The type. |
System.String | key | The key. |
System.String | url | The URL. |
RegisterOnSubmitStatement(Page, Type, String, String)
Registers the submit client script.
Declaration
public static void RegisterOnSubmitStatement(Page page, Type type, string key, string script)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Page | page | The page. |
System.Type | type | The type. |
System.String | key | The key. |
System.String | script | The script. |
RegisterStartupScript(Page, Type, String, String, Boolean)
Registers the startup client script.
Declaration
public static void RegisterStartupScript(Page page, Type type, string key, string script, bool addTags)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.Page | page | The page. |
System.Type | type | The type. |
System.String | key | The key. |
System.String | script | The script. |
System.Boolean | addTags | The addTags. |