ActiveReports 8
ResourceLocale Property
See Also  Example
GrapeCity.ActiveReports.Web.v8 Assembly > GrapeCity.ActiveReports.Web.ExportOptions Namespace > FlashViewerOptions Class : ResourceLocale Property

Glossary Item Box

Gets or sets the resource locale to use in the FlashViewer.

Syntax

Visual Basic (Declaration) 
Public Property ResourceLocale As System.String
C# 
public System.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):

  • en_US U.S. English (default)
  • ru_RU Russian
  • ja_JP Japanese
  • zh_CN Chinese (Simplified)
  • pt_BR Portuguese (Brazil)
  • de_DE German

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

Example

C#Copy Code
WebViewer.FlashViewerOptions.ResourceLocale = Request.Form["LanguageDropDownList"];
Visual BasicCopy Code
WebViewer.FlashViewerOptions.ResourceLocale = Request.Form("LanguageDropDownList")

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