CuteEditor for ASP 6.6 Class Library

Editor.URLType Property

Specifies whether the URL should be converted to a site root relative path (/html/images/image1.gif) or an absolute path (http://www.mysite.com/images/image1.gif).


Example Code

      <%
           Dim editor
           Set editor = New CuteEditor
           editor.ID = "Editor1"
           'If you want to use font tags, you can set this property to true.
           editor.URLType = "Absolute"
           editor.Text = "Hello World"
           editor.Draw()
      %>

Members

Member Name Description
Default The URL is not converted.
SiteRelative The URL is converted into a site root relative path. A site root relative path describes the location of the destination file by describing the route the browser must take from the Web site's root folder (top level in the folder structure). For example, a site root-relative path to an image may appear as: /html/images/image1.gif
Absolute The URL is converted into an absolute path. An absolute path describes the physical location of a file on a machine or the exact location of a file on the Internet. An absolute path on your hard drive might appear as: An absolute path might appear as: http://www.mysite.com/images/image1.gif

See Also

Editor Class | CuteEditor Namespace