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

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

3 Answers 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
balakrishnan
Top achievements
Rank 1
balakrishnan asked on 01 Nov 2012, 05:32 AM
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!).

3 Answers, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 05 Nov 2012, 01:31 PM
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.
0
Bhanu
Top achievements
Rank 1
answered on 14 Aug 2019, 01:14 AM
Is it possible to display the same message in a RadWindow popup instead of displaying with an alert()?
0
Vessy
Telerik team
answered on 16 Aug 2019, 03:28 PM

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.
Tags
General Discussions
Asked by
balakrishnan
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Bhanu
Top achievements
Rank 1
Share this question
or