Encrypt URL in the URL Field in Hyperlink Manager of RadEditor.

1 Answer 192 Views
Editor
jamsheer
Top achievements
Rank 1
Veteran
jamsheer asked on 16 Mar 2023, 12:36 PM | edited on 17 Mar 2023, 10:36 AM

Hi Telerik,

In my ASP.Net web application, I am using a RadEditor tool to manage notes and documents.

While I went through the Hyperlink Manager option on radeditor, I was able to add the document url to the Hyperlink Manager URL text box by opening the Document Manager. It’s working fine here.

But, the document url showing the physical path of the selected document, that means it’s not much secure.


Please see the screenshot.

So, we need to encrypt the same url and replace the Hyperlink manager URL text box text with the encrypted url when I upload a file from the document manager.

Since the hyperlink Manager is an inbuilt functionality of the RadEditor, how could I access the url text box to get the text and replace the same with encrypted url at the same time when adding an attachment from the document manager.


How could I achieve the same.

Thanks & regards,


1 Answer, 1 is accepted

Sort by
0
Attila Antal
Telerik team
answered on 21 Mar 2023, 09:38 AM

Hello Jamsheer,

You can check out Rumen's answer in Japanese is broken in Subject field of Hyperlink Manager Forum thread. He is showing an example of how to encode/decode the URL while using the Hyperlink Manager.

Regards,
Attila Antal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

jamsheer
Top achievements
Rank 1
Veteran
commented on 21 Mar 2023, 01:41 PM

Thank you Antal,

I tried by using the OnClientDomChange client-event, but the event is triggering when we click the OK button on the hyperlink manager popup(which means inserting the values into the radeditor control). 

In my case, we need to insert the encrypted URL into the hyperlink manager URL field when we insert attachments from the document manager.

That means the hyperlink manager URL field should be filled by the encrypted URL.

Thanks & regards,


Attila Antal
Telerik team
commented on 24 Mar 2023, 09:21 AM

Seems you have an answer from Rumen in your second Forum post at RadEditor Hyperlink document manager Insert button event.
Tags
Editor
Asked by
jamsheer
Top achievements
Rank 1
Veteran
Answers by
Attila Antal
Telerik team
Share this question
or