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

[Solved] Help dialog localization (Q1 2008)

2 Answers 79 Views
Editor
This is a migrated thread and some comments may be shown as answers.
LEONAR
Top achievements
Rank 2
LEONAR asked on 17 Apr 2008, 10:26 PM
Hi... it is possible to set localization for Help dialog? How to create my own Help dialog?

Thanks?

2 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 18 Apr 2008, 07:54 AM
Hello,

Currently, the help dialog does not have any localizable elements (except the OK button). However, you can easily create your own help dialog and enter any content you want in it. Here is how to do that:

1) Set the ExternalDialogsPath property of the editor to a folder in your web site:

<telerik:RadEditor ID="RadEditor1" runat="Server" ExternalDialogsPath="~/Dialogs/">  
</telerik:RadEditor> 

2) Create a new file called Help.ascx in the folder you set in the previous step (e.g. ~/Dialogs/Help.ascx). Here is how the file contents should look like:

<%@ Control Language="C#" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI.Dialogs" TagPrefix="dialogs" %> 
<dialogs:UserControlResources id="dialogResources" runat="server" /> 
 
...  
Content  
... 

There are only two limitations you need to take into account - you cannot assign a code file for the Help.ascx file and you cannot use code blocks (<% %>). Everything else should work fine.

Greetings,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Lini
Telerik team
answered on 18 Apr 2008, 07:55 AM
One thing I forgot to mention - the steps I listed are for the Q1 2008 version of the RadEditor (2008.01.415).

Greetings,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
LEONAR
Top achievements
Rank 2
Answers by
Lini
Telerik team
Share this question
or