Skip to main content

Object Binding

CSP object binding allows a CSP page to open a persistent object for use throughout the page. When an object is bound to a page, its properties and methods can be used throughout the page. Use the <csp:object> tag to bind an object to the page. Here is the syntax:


<csp:object name="oref" classname="class" objid="id">

The tag supports the following attributes:

  • name — The variable used to reference the object throughout the page.

  • classname — The name of the object's class.

  • objid — The object's id. Providing a value for this attribute is optional. If a value is provided, then the page executes the %OpenId method for the class using the value as an argument. If no value is provided, then the page executes the %New method for the class.

FeedbackOpens in a new tab