Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

URLType Creates Conflicts With Anchor Tags in Gecko Browsers

Last post 05-10-2010, 11:43 AM by Luuuukke. 13 replies.
Sort Posts: Previous Next
  •  03-01-2010, 11:45 AM 59062

    URLType Creates Conflicts With Anchor Tags in Gecko Browsers

    In IE, the syntax is written out correctly for an anchor on the current page: href=#date
     
    However, in gecko browsers, it puts in the full relative path:
    href=/Portal/EditModule.aspx?tabid=174&mid=824#date
     
    I am using URLType="SiteRelative" on my site, but if I remove it OR use Absolute, this behavior occurs.
  •  03-01-2010, 12:40 PM 59067 in reply to 59062

    Re: URLType Creates Conflicts With Anchor Tags in Gecko Browsers

  •  03-01-2010, 1:11 PM 59072 in reply to 59067

    Re: URLType Creates Conflicts With Anchor Tags in Gecko Browsers

    Yes, it works there for me as well. All I know is that on my end (with v6.4 and v6.6), if I take out the URLType it works fine in Gecko browsers, but as soon as I put it back it places a relative URL into the href to the anchor.
     
    I have tested this over and over among 4 different geckos and the result is the same. Also, I can have CE open in HTML mode, make the change, press F5, and the link to the anchor changes right there in front of me (from relative to correct).
     
    I don't have anything out of the ordinary in my control syntax, and I have tried removing various params but nothing works unless I remove the URLType:
     
     <FTB:Editor id="txtMessage" URLType="SiteRelative" UseRelativeLinks="True" RemoveServerNamesFromUrl="True" runat="server"
        Width="670px" EnableStripScriptTags="False" Height="500px" AutoConfigure="Full_noform" ContextMenuMode="Full_noform"></FTB:Editor>
     
    NOTE: I originally had both UseRelativeLinks="True" and RemoveServerNamesFromUrl="True" from the v4 days, but taking those out does not make any difference.
  •  03-02-2010, 3:58 AM 59100 in reply to 59072

    Re: URLType Creates Conflicts With Anchor Tags in Gecko Browsers

    HELLO?
  •  03-03-2010, 9:50 PM 59156 in reply to 59100

    Re: URLType Creates Conflicts With Anchor Tags in Gecko Browsers

    Hi lwb1962,
     
    I tested on google chrome, firefox1.5, firefox3.6 and safari4.0, all work fine.
     
    Is your site online? If so, please create a sime page only contains editor and send me the test url.
     
    Please send the test browsers info and the test page url to the email below
     
     
    Regards,
     
    Ken
  •  03-04-2010, 12:18 AM 59158 in reply to 59156

    Re: URLType Creates Conflicts With Anchor Tags in Gecko Browsers

    Same problem here (with firefox AND safari and chrome),
    editor links set to relative,
     
    containing page : ="/Admin/Pages.aspx?pageID=121"
     
    If i set a link to an anchor tag,
     
    in firefox & co, the editor takes the containing page in the url: <a href="http://cutesoft.net/Admin/Pages.aspx?pageID=121#a1"></a>
    while working ok in internet explorer : <a href="#a1">
     
    simply opening the page with IE recovers all links in the editor to the correct relative hre,
    while opening in other browsers trash the links...
     
    internet explorer 8
    firefox 3.0.18
     
  •  03-04-2010, 9:30 AM 59168 in reply to 59156

    Re: URLType Creates Conflicts With Anchor Tags in Gecko Browsers

    Ken -- I have setup the sample page and sent the info to your specified email account. Thanks.
  •  03-08-2010, 7:47 AM 59237 in reply to 59168

    Re: URLType Creates Conflicts With Anchor Tags in Gecko Browsers

    HELLO?
  •  03-08-2010, 3:05 PM 59242 in reply to 59158

    Re: URLType Creates Conflicts With Anchor Tags in Gecko Browsers

    Luuuukke:
    Same problem here (with firefox AND safari and chrome),
    editor links set to relative,
     
    containing page : ="/Admin/Pages.aspx?pageID=121"
     
    If i set a link to an anchor tag,
     
    in firefox & co, the editor takes the containing page in the url: <a href="http://cutesoft.net/Admin/Pages.aspx?pageID=121#a1"></a>
    while working ok in internet explorer : <a href="#a1">
     
    simply opening the page with IE recovers all links in the editor to the correct relative hre,
    while opening in other browsers trash the links...
     
    internet explorer 8
    firefox 3.0.18
     
     
    Which version are you using? Can you try the following example?
     
     
    If so, what happen if you create a simple page and set the URLType to SiteRelative?
     

    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

  •  03-11-2010, 8:33 AM 59320 in reply to 59242

    Re: URLType Creates Conflicts With Anchor Tags in Gecko Browsers

    The problem occurs when there is a querystring in the url...
     
    i have set up a simple page with one editor, relative path
    I navigate to my page /test.aspx, then it works correctly
    If i use it from the url /test.aspx&id=blabla
    then i get misformed links in the editor... : <a href="http://cutesoft.net/test.aspx?id=blabla#a">test </a>
     
    latest versions of chrome & firefox..;
     
    I can not reproduce it online on your sample page though..;
     
    rgds
  •  03-11-2010, 9:17 AM 59323 in reply to 59320

    Re: URLType Creates Conflicts With Anchor Tags in Gecko Browsers

    Luuuukke:
    I can not reproduce it online on your sample page though..;
     
    rgds
     
    Can you download the latest build and try the examples?
     
    Keep me posted
     
     

    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

  •  05-06-2010, 11:08 AM 60776 in reply to 59323

    Re: URLType Creates Conflicts With Anchor Tags in Gecko Browsers

    latest cuteditor 6.6, mozilla firefox 3.63
    problem still there... and occurs when there is a querystring in the url

     
  •  05-06-2010, 1:42 PM 60779 in reply to 60776

    Re: URLType Creates Conflicts With Anchor Tags in Gecko Browsers

    Please follow steps:
     
    1.  open link http://cutesoft.net/example/datagrid-example.aspx  in firefox3.6.3
    2.  select the first record and then click "Edit"
    3.  input " this is a test" in editor area
    4.  select "this is a test", and then click button "Insert Hyperlink"
    6.  click "OK"
    7.  test this link and check whether it works
     In this scenario , it works in my computer. 
     
    Use another way to test it,
    1. open link in http://cutesoft.net/example/general.aspx in firefox3.6.3
    2. switch to "HTML" view and remove all content
    3. switch back to "Normal" and input "this is a test"
    4. select "this is a test"
    5. click "Insert Hyperlink"
    6. input "/test.aspx&id=blabla" in URL
    7.click "OK"
    8. switch to "HTML" view, and check the produced html code, 
          <div>
             <a href="http://cutesoft.net/test.aspx&amp;id=blabla">
                <div>this is a test</div>
            </a>
         </div>
     
    This is a valid html code.
     
     
    Regards,
    Eric
  •  05-10-2010, 11:43 AM 60864 in reply to 60779

    Re: URLType Creates Conflicts With Anchor Tags in Gecko Browsers

    Eric,
     
    the problems occurs when there is a quesrystring in the url of the page containing the editor,
    not in the url to use for the link...
     
    my editor is e.g. in the page /admin/EditPage.aspx?pageId=45 ... then the editor will fail as explained earlier..
View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.