Friday, 7 December 2012

Changing Culture Settings For Calendar Control

Changing Culture Settings For Calendar Control


In calendar.aspx.cs: 


    private void Page_Load(object sender, System.EventArgs e)
    {
     System.Globalization.CultureInfo culture =  

    System.Globalization.CultureInfo.CreateSpecificCulture("ens"); 

     System.Threading.Thread.CurrentThread.CurrentCulture = culture; 

     
     System.Threading.Thread.CurrentThread.CurrentUICulture = culture;
    }


Reference:

No comments:

Post a comment

Thank You for Your Comments. We will get back to you soon.

back to top