ActiveReports 6 Online Help
ResourceLocale Property
Example 

Gets or sets the resource locale to use in the FlashViewer.
Syntax
'Declaration
 
Public Property ResourceLocale As String
public string ResourceLocale {get; set;}

Property Value

A string value representing a valid resource locale for which a resource file is included in the project folder (or at a URL specified in the ResourceUrl property).
Remarks

The following resource locales are included with ActiveReports in the ActiveReports.FlashViewer.Resources.swf file (located in the Deployment folder):

You can create your own localization resources and send them to GrapeCity support for signing.

Example
WebViewer.FlashViewerOptions.ResourceLocale = Request.Form["LanguageDropDownList"];
WebViewer.FlashViewerOptions.ThemeUrl = Request.Form["ThemesDropDownList"];
WebViewer.FlashViewerOptions.ShowSplitter = GetBooleanValueFromForm(Request.Form["ShowSplitter"]);
WebViewer.FlashViewerOptions.ShowThumbnails = GetBooleanValueFromForm(Request.Form["ShowThumbnails"]);
WebViewer.FlashViewerOptions.ShowToc = GetBooleanValueFromForm(Request.Form["ShowTOC"]);
WebViewer.FlashViewerOptions.ResourceLocale = Request.Form("LanguageDropDownList")
WebViewer.FlashViewerOptions.ThemeUrl = Request.Form("ThemesDropDownList")
WebViewer.FlashViewerOptions.ShowSplitter = GetBooleanValueFromForm(Request.Form("ShowSplitter"))
WebViewer.FlashViewerOptions.ShowThumbnails = GetBooleanValueFromForm(Request.Form("ShowThumbnails"))
WebViewer.FlashViewerOptions.ShowToc = GetBooleanValueFromForm(Request.Form("ShowTOC"))
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FlashViewerOptions Class
FlashViewerOptions Members

Send Feedback