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

Modifying existing radeditor dialogs 2

1 Answer 52 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Matteo
Top achievements
Rank 1
Matteo asked on 18 Oct 2010, 03:09 PM
Hi, i've modified LinkManager Dialog by adding a checkBox like that
<td class="reLabelCell">
    <label for="LinkCheckTrace" class="reDialogLabel">
        <span>
            <script type="text/javascript">document.write(localization["CheckTrace"]);</script>
        </span>
    </label>
</td>
<td class="reControlCell">
     <asp:CheckBox ID="LinkCheckTrace" runat="server" />
</td>
and related javascript code to handle it.

But i have a problem with localize the label text.
Can i access to localization[] array to add custom strings?
Or are there any other solution to localize my labels?
I've also tried to do something like that:
<td class="reLabelCell">
    <label for="LinkCheckTrace" class="reDialogLabel">
        <span>
            <%$ Resources: CheckTrace%>
        </span>
    </label>
</td>
<td class="reControlCell">
    <asp:CheckBox ID="LinkCheckTrace" runat="server" />
</td>
With this code the dialog window is opened and shows nothing but the loading image.

Any suggestion??

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 21 Oct 2010, 10:28 AM
Hi Matteo,

At present, RadEditor does not offer the possibility to register custom localization. However, we always try to improve our controls so we will consider the implementation of a feature allowing the possibility to add custom localization strings to the dialogs.

I have added your feature request into our database. Here you can find the PITS Item: Public URL

Greetings,
Dobromir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
Matteo
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or