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

RadEditor - Hyperlink manager customization

1 Answer 106 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Syed
Top achievements
Rank 1
Syed asked on 25 Nov 2010, 11:35 PM
Hi
We are using the RadEditor as a WYSIWYG to maintain our intranet site.
Often, there is a need for us to link to pages within the intranet. Is there a way for the HyperLink Manager to "connect" to a popup or something similar where we show our sitemap and when someone clicks on one of the items on the site map, it gets sent back to the hyperlink manager ?

1 Answer, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 26 Nov 2010, 04:46 PM
Hello Syed,

You can achieve your scenario by adding a button to the link manager that will fire the browser's showModalDialog method and will open a custom browser dialog. This method also allows you to return value to the parent window.

You can find information about the showModalDialog method in the following articles:
http://msdn.microsoft.com/en-us/library/ms536759(VS.85).aspx
and
https://developer.mozilla.org/En/DOM/Window.showModalDialog


Another approach is to set the ExternalDialogsPath property to point to the EditorDialogs folder, open the Linkmanager.ascx file, register the RadWindow control in it and its radopen method to open a new dialog and using its client-side API to pass information from the newly opened dialog back to the Linkmanager.ascx control.



Regards,
Rumen
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Editor
Asked by
Syed
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or