Exemplo n.º 1
0
 void btnImportStyles_Click(object sender, EventArgs e)
 {
     if (uploader.HasFile)
     {
         if (uploader.FileName.EndsWith(".xml"))
         {
             SkinHelper.ImportStyles(uploader.FileContent, siteSettings.SiteGuid);
         }
     }
     WebUtils.SetupRedirect(this, Request.RawUrl);
 }