Is it possible For displaying the message in radfileexplorer while create the folder name as exisiting folder. want to show my custom message and disble the default message

4 posts, 0 answers
  1. balakrishnan
    balakrishnan avatar
    5 posts
    Member since:
    Sep 2010

    Posted 01 Nov 2012 Link to this post

    Is it possible For displaying the message in radfileexplorer while create the folder name as exisiting folder. want to show my custom message and disble the default message (An object with the same name already exists in this directory!).
  2. Vessy
    Admin
    Vessy avatar
    2023 posts

    Posted 05 Nov 2012 Link to this post

    Hi Balakrishnan,

    The RadFileExplorer control has localization files (it uses the .resx files of the RadEditor's dialogs) and you could simply change the messages in these files. In order to modify the mentioned alert, you will need to change the value under the name "Common_NameExists", placed in the RadEditor.dialogs.resx.

    You will need to set the path to the modified dialogs as a value of the LocalizationPath property of RadFileExplorer.

    Regards,
    Vesi
    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.
  3. Bhanu
    Bhanu avatar
    1 posts
    Member since:
    Aug 2019

    Posted 13 Aug in reply to Vessy Link to this post

    Is it possible to display the same message in a RadWindow popup instead of displaying with an alert()?
  4. Vessy
    Admin
    Vessy avatar
    2023 posts

    Posted 16 Aug Link to this post

    Hi Bhanu,

    The alert thrown when a folder with the same name already exists (or the name is not valid) is thrown from the server-side and, unfortunately, cannot be overwritten to use RadAlert for the moment:

    ScriptManager.RegisterStartupScript(_updatePanel, _updatePanel.GetType(), "ExplorerAlert", string.Format("alert(\"{0}\");", message), true);

    Regards, Vessy
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top