When I am pasting data with word formatting i get this message , I need to customize this message and change the text on buttons.
I have visited http://demos.telerik.com/aspnet-ajax/editor/examples/externaldialogspath/defaultcs.aspx , I could not make out how can i modify this particular message.
Can some one address this for me.
Thanks.
I have visited http://demos.telerik.com/aspnet-ajax/editor/examples/externaldialogspath/defaultcs.aspx , I could not make out how can i modify this particular message.
Can some one address this for me.
Thanks.
6 Answers, 1 is accepted
0
Hello Saurabh,
All of the desired modifications could be done in the localization files of the Editor. The content of the error message could be found inside "RadEditor.Main.resx" and the text of the buttons - inside "RadEditor.Dialogs.resx". More information regarding the localization and how to modify it is available here:
Using Global Resource Files
Another option is to make the changes in the code behind, e.g:
I hope this helps.
Regards,
Veselina Raykova
Telerik
All of the desired modifications could be done in the localization files of the Editor. The content of the error message could be found inside "RadEditor.Main.resx" and the text of the buttons - inside "RadEditor.Dialogs.resx". More information regarding the localization and how to modify it is available here:
Using Global Resource Files
Another option is to make the changes in the code behind, e.g:
protected
void
Page_Load(
object
sender, EventArgs e)
{
RadEditor1.Localization.Main.AskWordCleaning =
"Your custom message here."
;
}
I hope this helps.
Regards,
Veselina Raykova
Telerik
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 the blog feed now.
0
Saurabh
Top achievements
Rank 1
answered on 06 Jun 2013, 02:56 PM
Thanks it was of great help.
0
William
Top achievements
Rank 1
answered on 10 Jan 2014, 03:38 PM
Is there a way to customize the buttons on this dialog only? I want to change the text to "Yes" and "No". However, I don't want to change the text of all OK/Cancel buttons throughout the editor.I see in the RadEditor.Dialogs.Resx file there are common_cancel and common_ok, from my understanding, changing the text here changes the text for all OK/Cancel buttons.
0
Hello William,
You can copy the dialogs to your application and point the editor to them, so that you can edit only a single dialog with the wanted text. Note that this will prevent it from being otherwise localized: http://www.telerik.com/help/aspnet-ajax/editor-externaldialogspath-property.html.
Regards,
Marin Bratanov
Telerik
You can copy the dialogs to your application and point the editor to them, so that you can edit only a single dialog with the wanted text. Note that this will prevent it from being otherwise localized: http://www.telerik.com/help/aspnet-ajax/editor-externaldialogspath-property.html.
Regards,
Marin Bratanov
Telerik
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 the blog feed now.
0
Alexis
Top achievements
Rank 1
answered on 15 Oct 2014, 05:47 PM
I have a similar situation. I want to change the localization of the delete message, in particular, the localization of the button OK.
I changed the RadEditor.Dialogs.es-UY.resx file:
<data name="Common_OK" xml:space="preserve">
<value>Aceptar</value>
</data>
But it doesn't work. I change the value of, for example, Common_Cancel, and it works.
I am missing something?
Thank you.
I changed the RadEditor.Dialogs.es-UY.resx file:
<data name="Common_OK" xml:space="preserve">
<value>Aceptar</value>
</data>
But it doesn't work. I change the value of, for example, Common_Cancel, and it works.
I am missing something?
Thank you.
0
Hi Alex,
The described issue is a bug and it is already logged in our data base for fixing.
The encountered problem comes from the RadFileExplorer which overrides the localization string of the OK button. You can track further updates on the logged bug with this feedback portal item.
To use the workaround provided you should customize the built-in dialog of the FileBrowser dialogs. To do so you should follow the approach demonstrated in the Customize Built-in Dialogs example and use the FileBrowser.ascx to incorporate the suggested temporary resolution.
Regards,
Ianko
Telerik
The described issue is a bug and it is already logged in our data base for fixing.
The encountered problem comes from the RadFileExplorer which overrides the localization string of the OK button. You can track further updates on the logged bug with this feedback portal item.
To use the workaround provided you should customize the built-in dialog of the FileBrowser dialogs. To do so you should follow the approach demonstrated in the Customize Built-in Dialogs example and use the FileBrowser.ascx to incorporate the suggested temporary resolution.
Regards,
Ianko
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.