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

[Solved] Exemption for allowing few external urls

1 Answer 23 Views
RadEditor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Archana
Top achievements
Rank 1
Archana asked on 11 Aug 2009, 06:24 AM
Hi,

I am using RadEditor 5.5.0.0 for my site.
In the page layout I have set the property - AllowExternalUrls as false, as i don't want author to enter external urls in the RadEditor content and it is working fine.
But i want exemption for say 1 or 2 external urls i.e. for these urls it should not throw any error when entered in the free flow content.
Is this possible or is there any solution to this?

Regards,
Archana

1 Answer, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 13 Aug 2009, 06:42 AM
Hello Archana,

I don't think that it will be possible to have any external URLs when AllowExternalUrls is set to false. The property  is used when we call the MOSS validation function for the editor field. Since the validation code is part of the SharePoint base, we have no control over it - we simply pass the AllowExternalUrls value and the content and it returns a "valid" or "invalid" response. The content can only be saved if the validation has passed. This means that in order to have URLs to other servers, you need to set AllowExternalUrls to false.

Greetings,
Lini
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
RadEditor
Asked by
Archana
Top achievements
Rank 1
Answers by
Lini
Telerik team
Share this question
or