Re: UseRelativeLinks

  •  05-16-2005, 2:41 PM

    Re: UseRelativeLinks

    so it looks like UseRelativeLinks only applies to data that i am extracting text
    from the control in the codebehind.

    while in the editor (IE only), ALL href links are mapped to FULL urls no matter
    what UseRelativeLinks is set to.
    It would be nice if the href's are NOT mapped to full urls, but i guess this
    is an IE bug/feature.

    I don't know if this is a cuteeditor problem or an IE problem.  BUT the relative href's
    are mapped relative to the FilesPath passed to CuteEditor instead of relative to
    the current page the CuteEditor is displayed in.
    so if I have
    a page at http://localhost/mypagedirectory/page.aspx with:
       <CE:Editor id="CuteEditBox" FilesPath="~/assets/CuteSoft_Client/CuteEditor/" runat="server" ></CE:Editor>
    and i enter the following link in the CuteEditor box:
       <a href="hello">test<a>
    it becomes:
       <a href="http://localhost/assets/CuteSoft_Client/CuteEditor/hello">test</a>
    instead of:
       <a href="http://localhost/mypagedirectory/hello">test</a>
    Is this correct behavior?  or do i not have something setup correctly.

View Complete Thread