Intersoft WebGrid Documentation
LocalizationFolder Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > TextSettings Class : LocalizationFolder Property






Gets or sets the folder path where the language files are stored.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<DescriptionAttribute()>
<NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.BinarySerializableAttribute()>
<ISNet.Serialization.XmlSerializableAttribute()>
Public Property LocalizationFolder As String
Visual Basic (Usage)Copy Code
Dim instance As TextSettings
Dim value As String
 
instance.LocalizationFolder = value
 
value = instance.LocalizationFolder
C# 
[DefaultValueAttribute()]
[DescriptionAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
public string LocalizationFolder {get; set;}
Delphi 
public read-write property LocalizationFolder: String; 
JScript 
DefaultValueAttribute()
DescriptionAttribute()
NotifyParentPropertyAttribute()
ISNet.Serialization.BinarySerializableAttribute()
ISNet.Serialization.XmlSerializableAttribute()
public function get,set LocalizationFolder : String
Managed Extensions for C++ 
[DefaultValueAttribute()]
[DescriptionAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
public: __property string* get_LocalizationFolder();
public: __property void set_LocalizationFolder( 
   string* value
);
C++/CLI 
[DefaultValueAttribute()]
[DescriptionAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute()]
public:
property String^ LocalizationFolder {
   String^ get();
   void set (    String^ value);
}

Remarks

By the default, the location of folder is in "/CommonLibrary/WebGrid/V4_0_6200/Localization/". Intersoft's products have a concept of "centralized deployment" where client scripts and all supporting files are placed in "CommonLibrary" folder. With this concept, developers can easily deploy web applications along with Intersoft's products by copying only "CommonLibrary" folder to the production server. The CommonLibrary need to be mapped as IIS Virtual Directory in production server.

WebGrid.NET Enterprise 5.0 includes numerous language files in Xml Format for localization purpose. In previous version, the language files must be located inside IIS directory to be accessible from client. In version 5.0, language files are included in WebGrid SmartWebResources Assembly. This means the physical language files in IIS directory are no longer required.
If the language file is set to be retrieved from SmartWebResources, you can not modify or customize the texts (strings) as the files are now embedded inside assembly. If you want to use modified version of language file, then you can switch the language retrieval back to classic physical files retrieval mode.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.