Content Studio Web Content Management System
SystemObject
ContentStudio.SiteCodeBase
ContentStudio.Site.ActiveScriptingActiveScriptingBase
ContentStudio.Site.ActiveScriptingPageableComponent
ContentStudio.Site.ActiveScriptingEPTBase
ContentStudio.Site.ActiveScripting.EPTInsertLinkToSelf
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 fully HTML/XHTML strict 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 containing a reference to the same page using another
presentation template. This functionality is only applicable to
presentation templates.
The InsertLinkToSelf class acts as the underlying engine for the
Insert link to self AS component.
Inheritance Hierarchy
ContentStudio.SiteCodeBase
ContentStudio.Site.ActiveScriptingActiveScriptingBase
ContentStudio.Site.ActiveScriptingPageableComponent
ContentStudio.Site.ActiveScriptingEPTBase
ContentStudio.Site.ActiveScripting.EPTInsertLinkToSelf
Namespace: ContentStudio.Site.ActiveScripting.EPT
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
The InsertLinkToSelf type exposes the following members.
Constructors
Name | Description | |
---|---|---|
InsertLinkToSelf |
Constructs a new instance of the InsertLinkToSelf class that writes
to the default response stream
| |
InsertLinkToSelf(Stream) |
Constructs a new instance of the InsertLinkToSelf class that writes
to the supplied stream
| |
InsertLinkToSelf(MasterPageBase) |
Constructs a new instance of the InsertLinkToSelf class that writes
to the supplied stream
| |
InsertLinkToSelf(SiteBase) |
Constructs a new instance of the InsertLinkToSelf class that writes
to the supplied stream
| |
InsertLinkToSelf(UserControlBase) |
Constructs a new instance of the InsertLinkToSelf class that writes
to the supplied stream
| |
InsertLinkToSelf(SiteBase, UserControlBase) |
Constructs a new instance of the InsertLinkToSelf class that writes
to the supplied stream
| |
InsertLinkToSelf(Stream, SiteBase, UserControlBase) |
Constructs a new instance of the InsertLinkToSelf class that writes
to the supplied stream
|
Properties
Name | Description | |
---|---|---|
AltText |
Sets or gets the ALT attribute of the image, which describes the
content of the image. The default value is an empty string.
| |
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 |
Sets or gets the CLASS attribute of the link. The default value
is an empty string (the attribute is not used).
| |
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.) | |
ImageField |
Sets or gets a value indicating if the LinkImage property should
be interpreted as an EPT field name. The default value is false
(the LinkField property is interpreted as an URL).
| |
LinkField |
Sets or gets a value indicating if the LinkText property should
be interpreted as an EPT field name. The default value is false
(the LinkText property is interpreted as plain text).
| |
LinkImage |
Sets or gets the URL of an image to be displayed with the link. If the
property ImageField is set, this should be the name of an EPT
field containing the URL of the image. The default value is empty
string (no image to display).
| |
Linktext |
Sets or gets the text to be displayed with the link. If the property LinkField
is set, this should be the name of an EPT field containing the text to
display. The default value is empty string (no text to display).
| |
PTID |
Sets or gets an optional presentation template (PTID) to be used. The
default value is zero (no optional PTID).
| |
RememberQueryString |
Sets or gets a value indicating if all query string variables (except
ID and PTID) should be remembered. The default value is true.
| |
RootSelf |
Sets or gets a value indicating if you want to link to the root
document (the ID in query string). The default value is false.
| |
Target |
Sets or gets the TARGET attribute of the link. The default value
is an empty string (the attribute is not used).
| |
TargetField |
Sets or gets a value indicating if the Target property should be
interpreted as an EPT field name. The default value is false
(the Target property is interpreted as plain text).
| |
Title |
Sets or gets the TITLE attribute of the link. The default value
is an empty string (the attribute is not used).
|
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