This is a migrated thread and some comments may be shown as answers.

RadEditor hyperlink not working for current page

7 Answers 259 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tiju
Top achievements
Rank 1
Tiju asked on 14 Jan 2009, 06:06 PM
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


7 Answers, 1 is accepted

Sort by
0
Nikolay Raykov
Telerik team
answered on 19 Jan 2009, 11:58 AM
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.
0
Tiju
Top achievements
Rank 1
answered on 06 Feb 2009, 01:26 PM
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

0
Accepted
Tervel
Telerik team
answered on 06 Feb 2009, 03:07 PM
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.
0
Tiju
Top achievements
Rank 1
answered on 06 Feb 2009, 04:22 PM
Hi Telerik team,

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

Thanks & Regards
Tiju Joseph
0
Waseem
Top achievements
Rank 1
answered on 18 Jan 2013, 05:31 PM
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
0
Rumen
Telerik team
answered on 22 Jan 2013, 04:45 PM
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.
0
Waseem
Top achievements
Rank 1
answered on 19 Mar 2013, 06:50 PM
Thanks Rumen
It is working great!

Muhammad Waseem
the telerik Team

Tags
Editor
Asked by
Tiju
Top achievements
Rank 1
Answers by
Nikolay Raykov
Telerik team
Tiju
Top achievements
Rank 1
Tervel
Telerik team
Waseem
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or