RadEditor - Insert Link - Popup - Custom text

2 posts, 0 answers
  1. pradip
    pradip avatar
    40 posts
    Member since:
    Feb 2009

    Posted 27 Feb 2014 Link to this post


    RadEditor - Click on Insert link - then popup is opening. We are trying to change popup header text from "Insert link" to something else. We tried using Javascript something like below on page load
    function pageLoad(sender, args) {
                       $(".rwTitlebarControls em").text("new Text....");

    On first time click it is not showing required text. It works only on second time onward click. Please suggest solution

    More info. - RadEditor is inside User Control which is getting loaded only when user drag it on page. It is on partial postback only. Attached doc has popup screen where highlighted text needs to be change.

    Please suggest.


  2. Ianko
    Ianko avatar
    1899 posts

    Posted 27 Feb 2014 Link to this post

    Hello Pradip,

    You should change the dialog's title using its Client-side API. Please follow this demo code:
    <telerik:RadEditor runat="server" ID="RadEditor1"
                <telerik:EditorTool Name="InsertLink" />
    <script type="text/javascript">
        function OnClientCommandExecuted(editor, args) {
            var command = args.get_commandName();
            if (command === "InsertLink") {
                var dialog = editor.get_dialogOpener()._dialogContainers[command];
                dialog.set_title("Desired Title");

    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 UI for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top