Hi,
Once the user select his language and on some event (ie)button click or something, store the selected language from dropdown to a session variable.
HttpContext.Current.Session["Culture"] = ddlLanguage.SelectedItem.Value;
And add code below in Global.asax
//Code to be placed in Global.asax
protected
void Application_AcquireRequestState(object sender, EventArgs e){
string culture = System.Globalization.CultureInfo.CurrentCulture.Name;
if (HttpContext.Current.Session != null && HttpContext.Current.Session["Culture"] != null)
{
culture = Convert.ToString(HttpContext.Current.Session["Culture"]);
}
System.Globalization.CultureInfo cultureInfo = new System.Globalization.CultureInfo(culture);
System.Threading.Thread.CurrentThread.CurrentCulture = cultureInfo;
System.Threading.Thread.CurrentThread.CurrentUICulture = cultureInfo;
}
The above code worked for me, i have master pages used in my application, and by this u can have users select their preferred language. The user selected language will be applied through out the application. Offcourse i assume u have the proper resource file created for different language.
Hope this helps, Let me know if u still have any problem.