Content Studio Web Content Management System
SystemObject
ContentStudio.SiteCodeBase
ContentStudio.Site.ActiveScriptingActiveScriptingBase
ContentStudio.Site.ActiveScriptingPageableComponent
ContentStudio.Site.ActiveScriptingEPTBase
ContentStudio.Site.ActiveScripting.EPTInsertLink20
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Top
Top
Top
To use this class, create an instance of this object, set the
properties that does not have the values you expect, and call the Invoke
method.
This class can throw exceptions, thus your code should be wrapped
within try/catch statements in order to avoid the entire page to crash.
This class generates inline code, thus you must wrap it into a block
element to make the page validate according to the HTML/XHTML
regulations.
The generated code is HTML 4, XHTML 1.0, and XHTML 1.1 compatible.
This class is sealed and cannot be inherited from by other classes.
[This is preliminary documentation and is subject to change.]
Writes a link to the supplied stream or the default response stream.
The InsertLink20 class acts as the underlying engine for the Insert
link 2.0 AS component.
Inheritance Hierarchy
ContentStudio.SiteCodeBase
ContentStudio.Site.ActiveScriptingActiveScriptingBase
ContentStudio.Site.ActiveScriptingPageableComponent
ContentStudio.Site.ActiveScriptingEPTBase
ContentStudio.Site.ActiveScripting.EPTInsertLink20
Namespace: ContentStudio.Site.ActiveScripting.EPT
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
The InsertLink20 type exposes the following members.
Constructors
Name | Description | |
---|---|---|
InsertLink20 |
Constructs a new instance of the InsertLink20 class that writes
to the default response stream
| |
InsertLink20(Stream) |
Constructs a new instance of the InsertLink20 class that writes
to the supplied stream
|
Properties
Name | Description | |
---|---|---|
BackwardsComponentCompatibilityMode |
Sets or gets a value that indicates whether the code runs in backwards
compatibility component mode. The default value is false.
(Inherited from ActiveScriptingBase.) | |
ClassName |
Gets or sets the a name of an EPT field that contains the CSS class
name to use with the displayed link. If the StaticClassName
parameter is set this parameter is ignored. The default value is an
empty string.
| |
ComponentName |
Gets the name of the component
(Overrides ActiveScriptingBaseComponentName.) | |
Conformance |
Gets a value which specifies which type of code a component can generate.
(Overrides ActiveScriptingBaseConformance.) | |
ElementType |
Gets a value which specifies the type of outer element the component generates.
(Overrides ActiveScriptingBaseElementType.) | |
Encoding |
Sets or gets the encoding the component uses. The default encoding is
the UTF8 encoding without byte order mark.
(Inherited from ActiveScriptingBase.) | |
ImageAltAttribute |
Gets or sets the a name of an EPT field that contains the ALT
attribute to use with the image to be used as a part of the link. If
the StaticImageAlt parameter is set this parameter is ignored.
The default value is an empty string.
| |
LinkImage |
Gets or sets the a name of an EPT field that contains the URL to an
image file to be used as a part of the link. If the StaticLinkImage
parameter is set this parameter is ignored. The default value is an
empty string.
| |
LinkText |
Gets or sets a name of an EPT field that contains the text to display
in the link. If the StaticLinkText parameter is set this
parameter is ignored. The default value is an empty string.
| |
LinkURL |
Gets or sets the a name of an EPT field that contains the link URL. If
the StaticLinkURL parameter is set this parameter is ignored.
The default value is an empty string.
| |
OptionalQueryString |
Gets or sets the query string argument to be appended to the link. The
default value is an empty string.
| |
PTId |
Gets or sets the presentation template to use. This parameter is
ignored if the value is zero or less. The default value is zero.
| |
StaticClassName |
Gets or sets the name of the CSS class name to use with the displayed
link. Set this property to an empty string if the ClassName
instead. The default value is an empty string.
| |
StaticImageAltAttribute |
Gets or sets the content of the ALT attribute to use with the
image to be used as a part of the link. Set this property to an empty
string if the ImageAlt should be used instead. The default value
is an empty string.
| |
StaticLinkImage |
Gets or sets the name of a URL to the image file to be used as a part
of the link. Set this property to an empty string if the LinkImage
should be used instead. The default value is an empty string.
| |
StaticLinkText |
Gets or sets the text to show in the link. Set this property to an
empty string if the LinkText should be used instead. The default
value is an empty string.
| |
StaticLinkURL |
Gets or sets the link URL. Set this property to an empty string if the LinkURL
should be used instead. The default value is an empty string.
| |
StaticTarget |
Gets or sets the TARGET attribute of the link. Set this property
to an empty string if Target should be used instead. The default
value is an empty string.
| |
StaticTitle |
Gets or sets the that contains the TITLE attribute of the
generated link. Set this property to an empty string if Title
should be used instead. The default value is an empty string.
| |
Target |
Gets or sets the a name of an EPT field that contains the TARGET
attribute of the link. If the StaticTarget parameter is set this
parameter is ignored. The default value is an empty string.
| |
Title |
Gets or sets the a name of an EPT field that contains the TITLE
attribute of the generated link. If the StaticTitle parameter is
set this parameter is ignored. The default value is an empty string.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Invoke |
Invokes the component and writes its content into the specified stream
| |
ToString | (Inherited from Object.) |
Remarks
See Also