ActiveReports Developer 7
ResourceLocale Property
See Also  Example
GrapeCity.ActiveReports.Web.v7 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")

See Also