public static void Export(string filename)
        {
            string            fullName = Path.Combine(Globals.HostMapPath, filename);
            XmlWriterSettings settings = new XmlWriterSettings();

            using (XmlWriter writer = XmlWriter.Create(fullName, settings))
            {
                writer.WriteStartElement("dashboard");
                foreach (DashboardControl dashboard in GetDashboardControls(true))
                {
                    IDashboardData controller = Activator.CreateInstance(Reflection.CreateType(dashboard.ControllerClass)) as IDashboardData;
                    if (controller != null)
                    {
                        controller.ExportData(writer);
                    }
                }
                writer.WriteEndElement();
                writer.Flush();
            }
        }