Hyperlink Manager does not perform Anchor validation

2 posts, 0 answers
  1. Toldo
    Toldo avatar
    4 posts
    Member since:
    Jul 2012

    Posted 11 Jul 2012 Link to this post

    There is an ability in in Hyperlink Manager to enter anchor name with spaces, etc. No validation performed.
    Could you please reply if it can be fixed?
  2. Rumen
    Rumen avatar
    14420 posts

    Posted 13 Jul 2012 Link to this post


    I tested the reported scenario and noticed that the anchors with empty space in them works as expected.

    Nevertheless, if you want to strip the spaces you can use the OnClientPasteHtml event to modify the inserted content:

    <script type="text/javascript">
        function OnClientPasteHtml(sender, args) {
            var commandName = args.get_commandName();
            var value = args.get_value();
            if (commandName == "LinkManager") {
    <telerik:RadEditor runat="server"

    If you want to add validation in the LinkManager.ascx, you can see how to customize it in the following live demo: Customize Built-in Dialogs.

    Best regards,
    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.
Back to Top