I am applying globalization on my hotel management system web portal and I am stuck with an issue.My issue is that I have a drop down list of two languages English and Spanish a
you can use web method to initializeculture. for that you have to initially create javascript method that will call when you clicked on edit tab and from that script you can call page level web method to initializeculture. hopefully this will help you.
here i found answer after two days of my searching. the answer is very simple :)
i set the value of my language to UICulture
protected override void InitializeCulture()
{
if (Request.Form["ctl00$contentplaceholder1$language_drp"] != null)
{
UICulture = Request.Form["ctl00$contentplaceholder1$language_drp"];
}
if (Request.QueryString["HotelID"] != null)
{
this.UICulture = "es";
}
base.InitializeCulture();
}
and its working fine :)