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

'Sys' is undefined when LinkManager URL too long

1 Answer 22 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Damian
Top achievements
Rank 1
Damian asked on 15 Jun 2012, 02:05 PM
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 =)

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 19 Jun 2012, 01:12 PM
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.
Tags
Editor
Asked by
Damian
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or