'Sys' is undefined when LinkManager URL too long

2 posts, 0 answers
  1. Damian
    Damian avatar
    1 posts
    Member since:
    Jun 2012

    Posted 15 Jun 2012 Link to this post

    Hello =)

    I'm having the problem stated in the thread's title: Whenever I'm editing with the RadEditor if I click for example the hyperlink manager, I can't see the OK button. The problem that the webpages gives me is most of the time 'Sys' is undefined (but it throws sometimes other stuff too). This doesn't happen with every user, it just happens with users that have tons of roles and therefore the linkmanager URL gets too long.

    Is there any solution for this?

    Thanks a ton!!!

    Damian =)
  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 19 Jun 2012 Link to this post

    Hi Damian,

    Could you please try to set the UrlLengthLimit to the RadEditor's dialog opener to some small value to force editor to use POST method to pass the information to the dialogs and see if the problem still occurs?

    You can modify this setting using the following JavaScript:
    <scripttype="text/javascript">
    function setUrlLength(editor)
    {
    editor.get_dialogOpener().set_dialogUrlLengthLimit = 500;
    }
    </script>
    <telerik:RadEditor ID="RadEditor1" runat="Server" OnClientLoad="setUrlLength".../>


    All the best,
    Dobromir
    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