I know how to apply Localization to a page by creating the resource file. but one thing is really hurting to my mind since few days is, How the UIculture is getting applied to a ASP.NET page in the background of the screen ?
The thoughts coming to mind is in the events of Page Life Cycle.
If yes, then in which event and how to test that?
Please clarify.
Thanks
To set the culture and UI culture for an ASP.NET Web page declaratively
To set the UI culture and culture for all pages, add a globalization section to the Web.config file, and then set the uiculture and culture attributes, as shown in the following example:
To set the UI culture and culture for an individual page, set the Culture and UICulture attributes of the
@ Pagedirective, as shown in the following example:To have ASP.NET set the UI culture and culture to the first language that is specified in the current browser settings, set UICulture and Culture to
auto. Alternatively, you can set this value toauto:culture_info_name, whereculture_info_nameis a culture name. For a list of culture names, see CultureInfo. You can make this setting either in the@ Pagedirective or Web.config file.To set the culture and UI culture for an ASP.NET Web page programmatically
en-US). These properties are internal to the page, and can only be used in a page.C# code sample:
See below for a detailed page lifecycle: