Hyperlink Manager - Target stays as target

2 posts, 0 answers
  1. Clive Atkins
    Clive Atkins avatar
    14 posts
    Member since:
    Jul 2007

    Posted 19 Oct 2007 Link to this post

    Hi,

    I have some odd behaviour with Hyperlink Manager.
    Example: When selecting 'New Window' in the drop down list box for 'target', the target fields gets updated, but the value in the drop down list box of 'New Window' resets to 'Target' after selection.

    The above is the same no matter which option I choose from the drop down list box. The value in the drop down list box always resets back to target.

    I would of expected the value to stay to what ever was selected?

    Thanks.
    Keith.
  2. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 23 Oct 2007 Link to this post

    Hi Keith,

    Thank you for your suggestion! This behavior is already changed in our RadEditor "Prometheus" control.

    In the RadEditor for MOSS you can achieve your scenario by opening the Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.4.1.0__1f131a624888eeed\RadControls\Editor\Scripts\7_2_1\Controls\Controls.js file and commenting the following line in it _12.selectedIndex=0;

    e.g.

    LinkManager.prototype.ChangeLinkTarget=function(_12){
    this.LinkTargetHolder.value=_12.value;
    //_12.selectedIndex=0;
    };

    Save the file.

    After that open the Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.4.1.0__1f131a624888eeed\RadControls\Editor\ConfigFile.xml file and set   <property name="UseEmbeddedScripts">False</property> inside the <configuration> tags.

    Save the file.

    This should do the trick!


    Kind regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

Back to Top