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

Find and Replace Dialog localization

11 Answers 114 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Régis Giudicelli
Top achievements
Rank 1
Régis Giudicelli asked on 20 May 2009, 02:36 PM
Hi
I would like to localize 3 message boxes from the Find & Replace Dialog. To do so, I put a FindAndReplace.ascx in my project and changed the 3 strings called "notFound", "notSupported" and "allReplaced". The long method would be to go on each and every radeditor that my app has (and it's a lot) and add a "externaldialogpath" pointing on the ascx... Those strings seem to be the only ones not defined in the RadEditor.Dialogs.resx. Is there a way to massively add the ascx to the editor, or is there some other way to localize these strings ?

Thanks in advance,
R. Giudicelli

11 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 22 May 2009, 03:12 PM
Hello,

We will add those strings to the editor localization in the next RadControls service pack release (planned for next week). For now, I don't think there is another way of localizing them than using the ExternalDialogsPath editor property and the FindAndReplace.ascx file.

All the best,
Lini
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
TechOps
Top achievements
Rank 1
answered on 01 Jul 2009, 05:28 PM
Lini

We have installed SP2 (verion 2009.1.527) but the message for the 'not found' condition for find/replace has not been corrected.

Seems like our only option is to change the .ascx page, is that correct?

thanks
0
Lini
Telerik team
answered on 07 Jul 2009, 06:48 AM
Hello,

If you are using a custom version of the find & replace dialog (ExternalDialogsPath property of the editor), make sure that you also update the FindAndReplace.ascx file to the new version (2009.1.527). Also update the App_GlobalResources folder of your application with the new .resx files from the release (RadEditor.Dialogs.resx). The fix i mentioned changed both of the files so you will need their new versions if you want to see the three localization strings.

Best wishes,
Lini
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Nancy
Top achievements
Rank 1
answered on 07 Sep 2011, 08:17 AM
Hi Régis Giudicelli  ,

0
Rumen
Telerik team
answered on 07 Sep 2011, 04:48 PM
Hi Bhaskar,

You should create a folder in the root of your web application named EditorDialogs and put the FindAndReplace.ascx file in it.

After set the ExternalDialogsPath property to point to the "~/EditorDialogs" folder, e.g.

<telerik:RadEditor runat="server" ID="RadEditor1" ExternalDialogsPath="~/EditorDialogs">

After doing this the editor will start using the FindAnreReplace.ascx file and you can customize it.
The FindAnreReplace.ascx file is available in the EditorDialogs folder available in the RadControls for ASP.NET AJAX installations.

If you still experience any problems please provide information about the exact version of Telerik.Web.UI.dll used in your project.

Regards,
Rumen
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Nancy
Top achievements
Rank 1
answered on 08 Sep 2011, 07:04 AM
Hi
Thanks a lot every one
0
Rumen
Telerik team
answered on 08 Sep 2011, 03:31 PM
Hi Bhaskar,

By design, the RadEeditor's dialogs could not be loaded on the same page where the RadEditor control resides.

Regards,
Rumen
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Nancy
Top achievements
Rank 1
answered on 13 Sep 2011, 02:43 PM
Hi
0
Rumen
Telerik team
answered on 13 Sep 2011, 04:17 PM
Hello Bhaskar,

Telerik does not offer support for customizations of the built-in dialogs of RadEditor. We can only guide you but it is up to the developer to implement the requirements of his/her project.

If you want to help you, please open a support ticket and send a simple working project that demonstrates what you have done and what you want to achieve? Please, include all project files, because I need a runnable project that I can test and modify.

You can attach zipped projects only in the support ticketing system but not in the forums.

It is also important to know that the built-in dialog files are changed and enhanced and if you use an older version of the RadEditor you will be unable to use the latest version of the Find And Replace dialog that I attached in my earlier reply.

My suggestion is to also upgrade to the latest build of Telerik.Web.UI.dll which is 2011.2.712 (Q2 2011) which offers support for the latest modern browsers.

Kind regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nancy
Top achievements
Rank 1
answered on 19 Sep 2011, 10:28 AM
g
0
Rumen
Telerik team
answered on 20 Sep 2011, 08:04 AM
Hi Bhaskar,

As requested in this forum thread I deleted the file contents and image attachments in your posts.

If you want to execute server code in the external dialogs of RadEditor see how this is done in this KB article:
Displaying single upload control in the FileBrowser Upload manager. You need to add a usercontrol to the ascx file and you will be able to execute server code in the usercontrol.

Regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Editor
Asked by
Régis Giudicelli
Top achievements
Rank 1
Answers by
Lini
Telerik team
TechOps
Top achievements
Rank 1
Nancy
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or