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

Code Paste Window Used With Rad Editor

3 Answers 71 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Mick
Top achievements
Rank 1
Mick asked on 10 Jul 2008, 09:09 AM
Would it be possible to get the source code to the radeditor used in the forum. I am very interested in how the code paste window works, including the way the code is formatted within the radwindow and then passed to the radeditor.

Kind Regards

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 10 Jul 2008, 09:20 AM
Hi Mick,

The source code of the Format Code Block dialog is tightly integrated in the RadEditor source code and it cannot be used without the editor. If you buy a Developer License of RadControls for ASP.NET AJAX with a subscription then you will get for free the source code of RadEditor.

Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Mick
Top achievements
Rank 1
answered on 10 Jul 2008, 09:26 AM
I cant find any examples online of using the Format Code Block dialog , could you point me into the right direction?
0
Rumen
Telerik team
answered on 10 Jul 2008, 10:47 AM
Here is the requested live example: New Dialogs. The Format Code Block dialog is the fifth tool from left to right. You can enable it in your RadEditor toolbar via the following tag:

<telerik:RadEditor ID="RadEditor1" runat="server">
    <Tools>
        <telerik:EditorToolGroup>
            <telerik:EditorTool Name="FormatCodeBlock" Text="Format Code Block Dialog" />
        </telerik:EditorToolGroup>
    </Tools>
</telerik:RadEditor>


Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Mick
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Mick
Top achievements
Rank 1
Share this question
or