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

URGENT! Report Localization: Update resx without rebuild

3 Answers 428 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Clare
Top achievements
Rank 1
Clare asked on 01 Aug 2011, 05:04 PM
I have successfully followed Telerik's instructions on localizing reports so that my reports are now available in French and English (within an ASP.NET application). However, this results in the resx files being built into the assembly. We have a requirement which is that the RESX FILES MUST BE EDITABLE WITHOUT REBUILDING the application. Is there a way that I can make this possible with my Telerik reports?

To give some background, I have a 'Reports' project containing just the Telerik reports, which builds a DLL that is referenced by a separate ASP.NET web application.

I would appreciate urgent help on this matter as I have a release to make in 2 days' time! Thank you.

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 04 Aug 2011, 11:41 AM
Hi Clare,

The .NET framework handles the resources and we don't alter the default behavior.

For more information check out the following articles that elaborate on the topic:
Best wishes,
Peter
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Vasssek
Top achievements
Rank 1
answered on 04 Oct 2013, 07:36 AM
Hello,

I have the similar issue as Clare.

All report's localization RESX files are placed in the App_GlobalResources folder, but when I modify some text there, the result has still the old text value... It works properly only when I rebuild report project (dll).

How to achieve the same behaviour for reports in ASP.NET web site app as it is for web pages or Telerik controls (Ragdrid, calendar) ?

Best regards

Vasssek
0
KS
Top achievements
Rank 1
answered on 09 Oct 2013, 09:12 AM
Hi,

The report resources are built into a separate assemblies. The ReportViewer localization resources are also built in a separate assembly, so the project has to be recompiled to recognize the changes in the resx files (http://msdn.microsoft.com/en-us/library/ms227427.aspx). Other way to change resources is to read and write into the resx files, which will eventually cause the application to restart, means to lose all sessions(http://stackoverflow.com/questions/782899/editing-resource-files-without-recompiling-asp-net-application
).

-KS
Tags
General Discussions
Asked by
Clare
Top achievements
Rank 1
Answers by
Peter
Telerik team
Vasssek
Top achievements
Rank 1
KS
Top achievements
Rank 1
Share this question
or