void btnCopy_Click(object sender, EventArgs e) { string newSkinName = txtCopyAs.Text.ToCleanFolderName(true); if ((newSkinName.Length > 0) && (newSkinName != skinName)) { SkinHelper.CopySkin(Server.MapPath(skinBasePath + skinName), Server.MapPath(skinBasePath + newSkinName)); WebUtils.SetupRedirect(this, SiteRoot + "/DesignTools/ManageSkin.aspx?s=" + newSkinName); } else { WebUtils.SetupRedirect(this, Request.RawUrl); } }