RADEditor 'Format Code Block' issues

2 posts, 0 answers
  1. Ian
    Ian avatar
    2 posts
    Member since:
    Feb 2011

    Posted 14 Feb 2011 Link to this post

    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')

  2. Rumen
    Admin
    Rumen avatar
    13843 posts

    Posted 17 Feb 2011 Link to this post

    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
Back to Top