I used the following code to change the language for asp.net mvc on my project page
public ActionResult ChangeCulture (Culture lang, string returnUrl) { if (returnUrl.Length> = 3) { returnUrl = returnUrl.Substring (3); } return redirect ("/" + lang.ToString () + returnUrl); }
also i used usercontrol (ascx) on the same page. When I changed the language with actionlink, the presentation language changed, but the user event pageload did not change, so the version language changes, but the user control language does not change
source share