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

how do i have binded dropdown in editor hyperlink manager ?

1 Answer 33 Views
This is a migrated thread and some comments may be shown as answers.
Sara M
Top achievements
Rank 1
Sara M asked on 01 Dec 2012, 03:35 PM
Hi Team,

i have two questions here,
1 .i would like to have one binded dropdownlist (rad or normal) in hyperlink manager for that i customized Linkmnager.ascx file, but i am not  able to make database connection to fill the dropdown, can you please telll me how to have the bind dropdown list in hyperlink manager ? do i have write any custom script for that ?
 my requirement is lke below.

2 sometime my hyperlink manager is not rendering correctly.please have a look

what should i do to fix the rendering issue ?

Thanks & Regards,

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 05 Dec 2012, 12:17 PM

Straight to the points:
1) You can register the external dialogs of RadEditor which will allow you to edit the contents of the LinkManager.ascx dialog file. Since it is not possible to execute server code in the ascx dialog files you can add a usercontrol in the LinkManager.ascx and using its codebehind to bind the dropdowns in. You can see the following KB article which will show you how to add an user control and execute server code from it: Displaying single upload control in the FileBrowser Upload manager.

Please, note that we do not support customizations and modifications of the source code of the control and its dialogs and features.

2) The problem could be due to application restart. Could you please check for any server error / events logs for any application restarts when the problem occurs? You can also fix this problem using the instructions in this article: Blank Dialogs Problem.

The problem could be also due to some monitoring program such as WebSense or a Proxy server, Firewall, Antivirus which decrease the URL length of the Dialog handler for example to 1700 symbols and breaks it. 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;
<telerik:RadEditor ID="RadEditor1" runat="server" OnClientLoad="setUrlLength"/>

All the best,
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.
Asked by
Sara M
Top achievements
Rank 1
Answers by
Telerik team
Share this question