A hypertext link, often called a link, creates a connection from one page to another page. In a web page, links are typically underlined and differentiated by color from the surrounding text. When a visitor to your website clicks a link in one page, another page opens. Visitors use links to navigate your website.
In CuteEditor, you can make text or images in your web page act as links. When a visitor to your website clicks a link-specified text or an image-the browser takes the visitor to another web page or file, or starts their e-mail application.
When you're creating links to documents and images on the Web, you need to
think about how you're going to link to them.
CuteEditor supports three standard ways to create links:
To create links correctly in CuteEditor, you need to use the following two properties:
Editor.RemoveServerNamesFromUrl Property:
By default, Internet Explorer converts all URLs in hyperlinks (anchor tags) and
images (img tags) to absolute URLs with the hostname name. When this property
is set to true (the default), CuteEditor strips out the local server name from
all A and IMG tags if the hostname in the URL matches the current hostname.
Editor.UseRelativeLinks Property:
By default, Internet Explorer converts all URLs in hyperlinks (anchor tags) to absolute URLs. When this property is set to true, CuteEditor should strip the absolute link paths.
Using Absolute Paths Without The Domain Name
To use absolute paths without the domain name, you need to set Editor.RemoveServerNamesFromUrl property to true (by default).
Example:
<CE:Editor id="Editor1" RemoveServerNamesFromUrl="true" runat="server"></CE:Editor>
Using Absolute Paths With the Domain Name
To use absolute paths with the domain name, you need to set Editor.RemoveServerNamesFromUrl property to false and Editor.UseRelativeLinks property to false .
Example:
<CE:Editor id="Editor1" RemoveServerNamesFromUrl="false" UseRelativeLinks="false" runat="server"></CE:Editor>
Using Relative Paths
To relative paths, you need to set Editor.RemoveServerNamesFromUrl property to true and Editor.UseRelativeLinks property to true .
Example:
<CE:Editor id="Editor1" RemoveServerNamesFromUrl="true" UseRelativeLinks="true" runat="server"></CE:Editor>