The problem is happening if a class inheriting from UserControl assignes the following member of another class inheriting from UserControl: public static bool line12_useCustomDefinedMineral = false; The following causes a javascript unhandled exception each time it is executed in the browser startin...