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

[Solved] Guidance For Custom Module

5 Answers 163 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Andrew Costello
Top achievements
Rank 1
Andrew Costello asked on 20 Jun 2008, 10:46 PM
I went through all the documentation that I could find.
The text that we get from RadEditor gets parsed. For instance
{Content:Name} indicates a specific piece of Content that gets included on the page.
We would like to expand RadEditor to provide the following functionality:
A radgrid with filtering comes up, they can select the Content they want. And that places {Content:Name} at the desired location. I have been unable to get this to work at all. Where can I go from here to find additional help?

5 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 24 Jun 2008, 07:46 AM
Hi Andrew,

You can achieve your scenario by implementing a custom content filter as it is shown in the following live example: Content Filters. The custom filters in RadEditor are code snippets with regular expressions, which are called in a sequence to process the editor content, when the mode (html / design / preview) is switched or when the content is submitted. You can find more information in the following help article: Content Filters.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Andrew Costello
Top achievements
Rank 1
answered on 24 Jun 2008, 05:44 PM
I must have not been clear enough. Our tool would ideally work like the hyperlink manager. You click on it, then our grid appears, you make your selection and it appears in the content.
0
Rumen
Telerik team
answered on 26 Jun 2008, 04:05 PM
Hello Andrew,

If you want to put the grid in a module here an example which demonstrates how to create a custom module. The implementation of a module requires good knowledge of Javascript. Our suggestion is to Implement your scenario with a grid on the page (not with a module), see the editor's client side api in the help and the pasteHtml function and when you are ready send us a working project and we will make your code to work with a module.

If you want to put the grid in a custom dialog here is an example which demonstrates how to make a custom dialog.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Andrew Costello
Top achievements
Rank 1
answered on 27 Jun 2008, 05:03 AM
That is why I recommend telerik to all of my developer friends. Your support is phenomenal. I will submit this when I get it done.
0
Rumen
Telerik team
answered on 27 Jun 2008, 09:21 AM
Hi Andrew,

Thank you for the nice words.

I just want to add that you can attach and send us projects / files using the attachment functionality of the support ticketing system under your Client.net account.

Kind regards,
Rumen
the Telerik team

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