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

Dialogs not working

2 Answers 120 Views
Editor
This is a migrated thread and some comments may be shown as answers.
lauren
Top achievements
Rank 1
lauren asked on 29 Jan 2009, 06:22 PM
Hi,

I just replaced an old version of radEditor with the AJAX version, and everything seems to be working just fine, except the dialogs. The only two I have on my toolbar are the Hyperlink Manager and the Table Wizard. For both, when I open the dialog, everything is displayed correctly, except the insert and cancel buttons are missing their centers--ie they are very short and have no text; and the buttons don't do anything; and I can't switch to the other tabs.

I followed the setup process for the radEditor. What am I missing?

Thank you!

Lauren

2 Answers, 1 is accepted

Sort by
0
lauren
Top achievements
Rank 1
answered on 29 Jan 2009, 10:03 PM
UPDATE TO ORIGINAL POST:

The above is true for FF, but in IE the dialog throws a javascript error upon load. It breaks at line 48 of Telerik.Web.UI.DialogHandler.aspx, with the error "Sys is undefined." If I skip past that one, I get a bunch of other javascript errors, and ultimately the dialog loads with the Insert and Cancel buttons not displayed at all. The Anchor and Email tabs are clickable but clicking them only scrolls the page so that the dialog is at the very top, and doesn't change the display at all.

Thanks for any help!
0
Accepted
Lini
Telerik team
answered on 02 Feb 2009, 04:25 PM
Hi Lauren,

It seems that there is a problem with the scripts in the dialogs. Have you set the EnableEmbeddedScripts property of the editor to False? Try using a HTTP debugging proxy (Fiddler for IE, or the Net tab of Firebug for Firefox) and check what happens when you try to open a dialog. You should see a number of requests for ScriptResource.axd. The "Sys is undefined" error means that these requests are not served correctly or are not present at all. If the requests cause a 404 or 500 HTTP error, then the problem is in your website configuration (Web.config). If the requests are not present then EnableEmbeddedScripts is set to false either for the editor control or for all RadControls (from a application setting in Web.Config).

If you still cannot determine the problem your site has a public URL, then please open a formal support ticket and send us the URL/login details so we can test from here.

Best wishes,
Lini
the Telerik team

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