Back to Devexpress

ClientSideModelSettings.IncludeLocalization Property

xtrareports-devexpress-dot-xtrareports-dot-web-dot-clientcontrols-dot-clientsidemodelsettings.md

latest2.1 KB
Original Source

ClientSideModelSettings.IncludeLocalization Property

Specifies whether or not to load a localization script to a control’s client-side.

Namespace : DevExpress.XtraReports.Web.ClientControls

Assembly : DevExpress.XtraReports.v25.2.Web.dll

NuGet Package : DevExpress.Web.Reporting.Common

Declaration

csharp
public bool IncludeLocalization { get; set; }
vb
Public Property IncludeLocalization As Boolean

Property Value

TypeDescription
Boolean

true , to include a localization script; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to IncludeLocalization
ClientSideModelSettingsModelBase

.ModelSettings .IncludeLocalization

|

Remarks

The localization script contains a dictionary with key-value pairs that define localization for the specified strings.

If you do not need to localize UI elements of your client control, exclude the localization resources from a web page by disabling the IncludeLocalization option. This makes a web page with this control lightweight and reduces the time to load this page for the first time.

See Also

ClientSideModelSettings Class

ClientSideModelSettings Members

DevExpress.XtraReports.Web.ClientControls Namespace