How To Change The Culture Settings For a Calendar?

By Goniey N (Mr. G)

Source Code Fo Change The Culturer Setting For Calander To Shown Date In Your Formate...

//In Form.aspx.cs

private void Page_Load(object sender, System.EventArgs e)
{
  
System.Globalization.CultureInfo cltrInfo = System.Globalization.CultureInfo.CreateSpecificCulture("ens");
    
//Instead Of "ens" You Can Set Your Culture, For Example : For French You Can Set "fr"...
  
System.Threading.Thread.CurrentThread.CurrentCulture = cltrInfo;
  
System.Threading.Thread.CurrentThread.CurrentUICulture = cltrInfo;
}

How To Change The Culture Settings For a Calendar?  (687 Views)