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

Toolbar and Editor Modes missing text resources

7 Answers 23 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jeremy Tan
Top achievements
Rank 1
Jeremy Tan asked on 12 May 2010, 10:39 AM
I'm running into this very strange problem with RadEditor whereas before we were able to use it without any issue.  The toolbar, dropdowns, popups, editor mode buttons etc all show ***Missing, while there are no other issues with other controls.  I've attached a screenshot of the toolbar.  We are using 2009.2.701.35.

Does anyone know what's going on?




7 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 12 May 2010, 02:20 PM
Hi Jeremy,

You are the first to report this odd problem and I haven't seen it before.

What you can do is to copy the localization resx files in another folder and set the LocalizationPath property to point to it. You can see this live demo for more information: Localization.

You can also upgrade to the latest version Q1 2010 SP1 (version 2010.1.415) and try to reproduce the problem with it.

Greetings,
Rumen
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.
0
Jeremy Tan
Top achievements
Rank 1
answered on 14 May 2010, 12:39 PM
Hi Rumen, thank you for your quick response. Using your LocalizationPath suggestion works.  It is odd though as we have never before needed to do that and we also never before had to add the RadEditor.*.resx files to our project before.  Is my assumption correct that if there are no RadEditor.*.resx files added to the build then RadEditor should be able to access resources that are included in Telerik.Web.UI?  I cannot locate what changed between it working elsewhere but not here.

I will use this workaround for now but I would still like to get to the bottom of this.

Is it possible that this can occur if there are problems with global resources?  Can I debug the resource loading somehow?
0
Rumen
Telerik team
answered on 18 May 2010, 01:08 PM
Hi Jeremy,

There are two reasons for the problem to occur:
  • The resx files are not compiled to a dll for some reason
  • you use a custom resource provider

In both case you can workaround the problem by setting the LocalizationPath property.

My suggestion is to search in Google / MSDN for a mean to debug the resource loading.

Best regards,
Rumen
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.
0
Jeremy Tan
Top achievements
Rank 1
answered on 21 May 2010, 09:15 AM
Hi Rumen,

The default resources for RadEditor should be embedded inside Telerik.Web.UI.dll if they are not compiled in the web application right?
0
Rumen
Telerik team
answered on 24 May 2010, 03:27 PM
Hi Jeremy,

Indeed, if the editor is unable to find its compiled external resx files then it will read its en-US localization from the Telerik.Web.UI.dll or will search from the folder specified by the LocalizationPath property.

Kind regards,
Rumen
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.
0
Jeremy Tan
Top achievements
Rank 1
answered on 25 May 2010, 06:22 AM
Right, so that's the strange thing then, as I did not include any RadEditor resx files in the build before, but the control still would not find the embedded resources within Telerik.Web.UI.dll, while explicitly setting LocalizationPath to another folder made it work.

Is it possible this might happen if there was an error compiling global resources.  In this project previously, we had an error in the global resources section of the build which we rectified (there was in invalid resources file in the project), but I'm wondering if that had any spillover effect.

Thanks so much for continuing to follow up with me on this.
0
Rumen
Telerik team
answered on 26 May 2010, 04:07 PM
Hi Jeremy,

I am not quite sure, but indeed the error that you had experienced in the global resources section could be the reason for the problem. Do you also use a custom resource provider?

By the way do you experience the problem if you copy the App_GlobalResources folder and the resx files in it from the RadControls installation to the root of your web application?


Best regards,
Rumen
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
Jeremy Tan
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Jeremy Tan
Top achievements
Rank 1
Share this question
or