Wednesday, November 10, 2010


Even when the Style.css clearly says "This file will never be overwritten.", it WILL be overwritten when changing application Theme.

UPDATE: As Style.css is inside theme's folder, and folder is deleted and recreated when theme change, it gets deleted on theme changing. Always make a backup copy of it in application's root folder.

Tuesday, November 9, 2010

Date & Number Format (Culture Info)

1-In .\App_Code\Shared\BaseApplicationPage.cs

protected override void InitializeCulture()
string selectedLanguage = (string)Session["AppCultureUI"];

if (!string.IsNullOrEmpty(selectedLanguage))

System.Threading.Thread.CurrentThread.CurrentCulture =
System.Threading.Thread.CurrentThread.CurrentUICulture =
new System.Globalization.CultureInfo(selectedLanguage);

2-In ApplicationWebForm.js

circa line 3487

// if date formatter not disabled.

remove comments on "else" bloc.