RadEditor hyperlink not working for current page

8 posts, 1 answers
  1. Tiju
    Tiju avatar
    13 posts
    Member since:
    Jan 2009

    Posted 14 Jan 2009 Link to this post

    Hello all,

    I have a strange problem with the Hyperlink manager in RadEditor.
    The problem occurs when we add a hyperlink having the same url as the page in which the radeditor is put.The hyperlink manger will remove the domain and stores only page name .

    Ie,

    suppose the Radeditor is on http://www.test.com/Test/myediotor.aspx. and we added a hyper link with url=http://www.test.com/Test/myediotor.aspx, the hyperlink manager will store only "myeditor.aspx". In all other pages where we are showing these link, the site will replace the "myeditor.aspx" with http://www.test.com/currentpage/myeditor.aspx

    Does anybody having this problem? Can you please help me to solve this?

    Thanks
    Tiju Joseph


  2. Nikolay Raykov
    Admin
    Nikolay Raykov avatar
    102 posts

    Posted 19 Jan 2009 Link to this post

    Hello Tiju,

    I tried to reproduce your problem but to no avail. I made some tests with this online example in Firefox and IE and everything works OK - the URL does not get stripped.

    For your convenience I made a video showing my tests. Could you try reproduce the problem in the demos? If you can reproduce them there, please send us step-by-step instructions so we can check it. If the problem does not appear on our side, we will need a sample project that we can examine locally. 

    Kind regards,
    Nikolay Raykov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Tiju
    Tiju avatar
    13 posts
    Member since:
    Jan 2009

    Posted 06 Feb 2009 Link to this post

    Hi Nikolay,

    Sorry for late reply and thanks for your effort to help.

    I was using an old version of Rad editor(RadEditor.Net2.dll  Version: 7.2.0.0). This version is having the problem i was reffering.

    Now i am using the Telerik.Web.UI.dll Version: 2008.3.1314.35. and the issue i mentioned is solved.


    But now i  am having another problem . Since the Content are is rendered as Body, i am not able to specify the Background color of the editor.( I ahve set the BackColor property but it is not working. Also i can't apply css to Body tag as there is another background color we are using for the Master page). Is there any way to set the background color of the editor?.

    In the previous versions of the editor, the css files were placed inside a folder and were able to modify it. But in the later version, it seems that the css files are embedded in the DLL itself. so not able to upate the css.

    Please let me know if you need more info.


    Thanks & Regards
    Tiju Joseph

  5. Answer
    Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 06 Feb 2009 Link to this post

    Hi Tiju,

    Please examine the following online demo:
    http://demos.telerik.com/aspnet-ajax/editor/examples/settingcontentareadefaults/defaultcs.aspx

    Greetings,
    Tervel
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Tiju
    Tiju avatar
    13 posts
    Member since:
    Jan 2009

    Posted 06 Feb 2009 Link to this post

    Hi Telerik team,

    It worked. Thank you for your help and i really appreciate your immediate response to the thread.

    Thanks & Regards
    Tiju Joseph
  7. <span>w</span>
    <span>w</span> avatar
    84 posts
    Member since:
    Jun 2012

    Posted 18 Jan 2013 Link to this post

    Hi

    I have a little problem. in Telerik Radeditor, when we click on  hyperlink manager. its url is big. we have url security on all over site.
    When it apply its url become bigger.
    Can you have any way to when we click on hyperlink manager. its url will be small instead of large url.

    Let say its orginal url:
    http://localhost:8497/hris/admin/Telerik.Web.UI.DialogHandler.aspx?DialogName=LinkManager&UseRSM=true&Skin=Default&Title=Hyperlink%20Manager&doid=b5bce3ae-f76e-44ea-afff-4a6586d4e712&dpptn=&dp=GhsBQQQ1J0YYFV5OdGUMJTxvCixlZHE1LhgWUEZ6IQEqB20IRzhHLz0nCxEbB0pKBApmUDkPCh0eBSlSdAEIJjwKDRxuUXkqGBkRFml%2BDxodOmlUdRdlJjQkBy0jOXtZKgtibz8PFUYQBT1LdHQQPAdvbRVweWUxGWMKCWh5OggdCHFVeS9LPT4nCwciOVFCBCdmWQQPJ1wQcj1LdF8yOwdgCh9eDgssKWwoDUZ6ThUdCFcTeS4KAAYnJhgTOXtDK35hWhAbJ30YczVdeV42BQV%2FHlpyalc4LRsoVHJRIQkvFnE8dhV9AzYKH14VE0ljKwpYcTgQBUsHB1oVd19rHQNvERZZdE8UGhgsEn1QRksfLFc8bSxXCSkcKV4UP1lDKQt%2BYRIPamcbciVxeV46egR%2FFhtedHUUGWwWFnNqHEodLHUwR0lbPwYmKV4YLndDLCF%2BWBAQM2QYBzkUenUuBAJtbVluZE8UGkAoVnB4OTgZB2k8Rj99AzM1AxgUEl4BKgtmcAg2M3AccQtdfWcEDStuNBtZdH0DNmMWFn5rLSgvLX4ddRVpOTI1JV4VAllRKQpEfAQiDWQcBARfeWVvCANUKCppaA9uKXMsVX5lPQ4SF0MhQix5GwZCFxEUE3sAKQ9MbgQPJ1AQERhQYnUEPiltAg5uDkguIkEKLnZqMSMZLnUNbhZtXjA4EFIRAEl9Kn56QT8fMxwTGj1XTABrHz9gCgBweWUxGWMKCWh5NggEcXUOQBZTHwA1QgMjOXteEhR%2BeD41Zl0QGiUXT2UINCp9AgdedHE1N28FFg%3D%3D

    When we apply security on it encrypt the main site url . so it become really large.
    http://localhost:8497/hris/admin/Telerik.Web.UI.DialogHandler.aspx?ABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEW
    ABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEW
    ABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEW
    ABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEW
    ABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEW
    ABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEWABASDFASDFASDFASDFASETEWTEW

    Thanks,
    Muhamamd Waseem
  8. Rumen
    Admin
    Rumen avatar
    12847 posts

    Posted 22 Jan 2013 Link to this post

    Hello,

    You can decrease the dialog length to 500 symbols using the following code:

    <script type="text/javascript">
    function setUrlLength(editor)
    {
        editor.get_dialogOpener()._dialogUrlLengthLimit = 500;
    }
    </script>
    <telerik:RadEditor ID="RadEditor1" runat="server" OnClientLoad="setUrlLength"/>



    Kind regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  9. <span>w</span>
    <span>w</span> avatar
    84 posts
    Member since:
    Jun 2012

    Posted 19 Mar 2013 Link to this post

    Thanks Rumen
    It is working great!

    Muhammad Waseem
    the telerik Team

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017