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

RADEditor 'Format Code Block' issues

1 Answer 101 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 14 Feb 2011, 11:09 AM
Hi there.
I was hoping someone could help me.
I have a few problems with my RADeditor.

Im having problems with the dialog boxes, its says:
"Web.config registration missing!
 The Telerik dialogs require a HttpHandler registration in the web.config file. Please, use the control's Smart Tag to add the handler automatically, or see the help for more information: Controls > Editor > Dialogs"

Now before you say I must click on the smart tag, and set up the httphandlers etc.....
I have done this, and the dialogs work, on some of the editors.
I have the editors on many pages and the dialogs (image, format-code etc...) seem to work on the normal .aspx pages, but i also have some editors on controls (.ascx pages), and its these ones that give the dialog error.

Please help me, Im sure its just a simple fix.

BUT.... I have another issue concerning the 'Format Code Block' dialog.

If I paste code, in FF, it all works very well, and my output looks great.
If I paste code in IE8, it seems to be fine, but once i post the content into the form, it seems to convert all the white-space characters as '???', and because the code has lots of indenting, tabs, it really looks bad.
In the code behind, it seems to have this data FF - '&nbsp' and in IE8 - ' ' .
Im not sure what the difference may be, but please could you help.

Also, my content window is only 380px wide and if i dont set the 'format code block' width, it becomes much wider, pushing the output content off the page. is there a way to force the width of the 'format code block' output, and not let the user change it?

I realise this is a lot, but please help :)

Ian

PS, im running this RAD controls (Telerik RadControls for ASP.NET Ajax, build: '2008.1.619.35')

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 17 Feb 2011, 09:40 AM
Hello Ian,

Straight to the points:
1) Please, try the suggestions and especially point 4 in the following KB article: Error: Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file.

2) The following article provides guidance how to solve the encoding ???? problem: Appearance Of Odd Characters After Saving Radeditor's Content In Database.

3) If you upgrade to the latest version you will be able to either customize the FormatCodeBlock dialog or modify the contents pasted through it using the OnClientPasteHtml event introduced in Q3 2009.

Best regards,
Rumen
the Telerik team
Tags
Editor
Asked by
Ian
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or