Compiler warning: UseRelativeLinks and RemoveServerNamesFromUrl is obsolete

Last post 03-17-2008, 6:15 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  03-16-2008, 5:13 PM 38004

    Compiler warning: UseRelativeLinks and RemoveServerNamesFromUrl is obsolete

    Hello,
     
    I get a compiler warning:
     
    Public Property UseRelativeLinks is obsolete
    Public Property RemoveServerNamesFromUrl is obsolete
     
    Which property should I use instead?
     
    Thanks,
     
    Joerg
     
  •  03-17-2008, 6:15 AM 38031 in reply to 38004

    Re: Compiler warning: UseRelativeLinks and RemoveServerNamesFromUrl is obsolete

    Joeg,
     

    Editor.URLType Property

    Specify 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).

    URLType Enumeration

    Specify 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).

     
    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

    Demo:

     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML