Find and Replace Dialog localization

12 posts, 0 answers
  1. Régis Giudicelli
    Régis Giudicelli avatar
    11 posts
    Member since:
    Oct 2006

    Posted 20 May 2009 Link to this post

    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
  2. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 22 May 2009 Link to this post

    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.
  3. TechOps
    TechOps avatar
    4 posts
    Member since:
    Jan 2007

    Posted 01 Jul 2009 Link to this post

    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
  4. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 07 Jul 2009 Link to this post

    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.
  5. Nancy
    Nancy avatar
    29 posts
    Member since:
    Aug 2011

    Posted 07 Sep 2011 Link to this post

    Hi Régis Giudicelli  ,

  6. Rumen
    Admin
    Rumen avatar
    14031 posts

    Posted 07 Sep 2011 Link to this post

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

  7. Nancy
    Nancy avatar
    29 posts
    Member since:
    Aug 2011

    Posted 08 Sep 2011 Link to this post

    Hi
    Thanks a lot every one
  8. Rumen
    Admin
    Rumen avatar
    14031 posts

    Posted 08 Sep 2011 Link to this post

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

  9. Nancy
    Nancy avatar
    29 posts
    Member since:
    Aug 2011

    Posted 13 Sep 2011 Link to this post

    Hi
  10. Rumen
    Admin
    Rumen avatar
    14031 posts

    Posted 13 Sep 2011 Link to this post

    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.
  11. Nancy
    Nancy avatar
    29 posts
    Member since:
    Aug 2011

    Posted 19 Sep 2011 Link to this post

    g
  12. Rumen
    Admin
    Rumen avatar
    14031 posts

    Posted 20 Sep 2011 Link to this post

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