How to change message “DirectoryAlreadyExists”

4 posts, 0 answers
  1. Amol
    Amol avatar
    57 posts
    Member since:
    Apr 2008

    Posted 28 Jul 2009 Link to this post

    Hello ,

    I want to customize messages like “DirectoryAlreadyExists”,
    filesize limit messages, delete confirm messages , file exists messages.

    Could you please tell me how to change that?

    Thanks,
    Amol



  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 30 Jul 2009 Link to this post

    Hello Amol,

    The RadFileExplorer control has localization files (it uses the .resex files of the RadEditor's dialogs) and you could simply change the messages in these files. For example I have attached a demo in which I changed the delete confirmation message in the RadEditor.Dialogs.resx - English localization file. This file is used by default and you do not need to set it explicitly.

    I hope this helps.

    Best wishes,
    Fiko
    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. Amol
    Amol avatar
    57 posts
    Member since:
    Apr 2008

    Posted 03 Aug 2009 Link to this post

    Hello Fiko,

    Thanks for your response, It works for delete confirmation msg.

    But I am not able to find Folder Exists key and “DirectoryAlreadyExists” msg in .resex files of the RadEditor's dialogs.

    Can you please verify it and let me know.

    Thanks,
    Amol Wable


  5. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 05 Aug 2009 Link to this post

    Hello Amol,

    These messages are built in the default FileSystemContentProvider and they are not exposed in the Localization file. In this case I recommend you to change the strings in the provider directly. For your convenience I have attached a project with the configured new provider. In the project I used the default provider FileSystemContentProvider, and changed its class name to CustomFileSystemContentProvider. You could find the text that you need to change in the provider and replace it with the desired one.

    I hope this helps.

    Sincerely yours,
    Fiko
    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.
Back to Top