We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to Insert the Local Hyperlink

Thread ID:

Created:

Updated:

Platform:

Replies:

128153 Jan 5,2017 10:15 AM UTC Jan 6,2017 05:56 AM UTC ASP.NET MVC 1
loading
Tags: RichTextEditor
Karthikeyan Viswanathan [Syncfusion]
Replied On January 6, 2017 05:56 AM UTC

Hi Thanh Le Minh,     
 
Thanks for contacting Syncfusion support. 
 
By default, We have added validation related URL link.  If you want to override the validation means you can achieve by using the below share code snippet.  
 
Please find the code snippet for your requirement. 
 
 
<code> 
 
@{Html.EJ().RTE("rteSample").Width("100%") .Locale("en-US").ContentTemplate(@<p> 
                content 
            </p>).ClientSideEvents(e=>e.Create("RTEcreate")).Render();} 
 
 
 
 
function RTEcreate(args) { 
            var inst = $(this.element).ejRTE("instance"); 
 
// You can customize the isUrl function. Whatever related your scenario.  
            inst._isUrl = function (url) { 
                return (url != "") ? true:false; 
            } 
} 
 
</code> 
 
 
Regards,      
Karthikeyan V.  

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;