Page.UICulture Property
.NET Framework 2.0
This property supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Sets the user interface (UI) ID for the Thread object associated with the page.
Namespace: System.Web.UIAssembly: System.Web (in system.web.dll)
'Declaration Public Property UICulture As String 'Usage Dim instance As Page Dim value As String value = instance.UICulture instance.UICulture = value
/** @property */ public String get_UICulture () /** @property */ public void set_UICulture (String value)
public function get UICulture () : String public function set UICulture (value : String)
Not applicable.
Property Value
The UI ID.This property is a shortcut for the CurrentThread property. The culture is a property of the executing thread
Set the UICulture attribute in the @ Page directive in the .aspx file. When the page is requested, the dynamically generated class sets the value of this property. In addition, you can also explicitly set the value of the UICulture property in the globalization element of the Web.config file.
| Topic | Location |
|---|---|
| How to: Set the Culture and UI Culture for ASP.NET Web Page Globalization | Building ASP .NET Web Applications |
| How to: Set the Culture and UI Culture for ASP.NET Web Page Globalization | Building ASP .NET Web Applications |
Community Additions
ADD
Show: