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

File Dialogs Cause JScript error

1 Answer 30 Views
Editor
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 17 Sep 2008, 01:50 PM
Hi,

I have a simple radeditor on an aspx page.  When using either the image manager or the template manager I am getting a javascript error when attempting to navigate through the folders.  The error is on $find("GenericFileLister1").  This object is comming back null.  I have checked the folder permissions as outlined in the documentation and even went so far as giving everyone full permissions.   I am able to upload images and to insert images and templates into the document that are at the top level.  Any help would be greatly appreciated.

Thanks,

Dave 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 19 Sep 2008, 01:32 PM
Hi David,

The error you got was probably because the dialog could not use the ajax response it received from the server - the dialog tries to download the contents of the empty folder, but the server returns something that cannot be used or a different folder altogether, so our client script in the GenericFileLister throws an error.

One of our RadEditor for MOSS customers experienced this problem and he was able to workaround it by simply placing a dummy image file and dummy document file in any empty gallery folder.  That way the folder/s will never be empty.

Could you please test this workaround and see whether it will fix the problem? If the problem still persists, please open a support ticket and send us a sample working project which demonstrates the error. We will examine it and once we reproduce the problem, we will be able to help.

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
David
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or