using SiteCore; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class EDesign_MultiuploadFiles : BasePage { protected override void OnPreInit(EventArgs e) { _repTitle = "批量上传"; PmTag = "multiupload"; //_selfCheckPermission = true; _keyFilterVisible = false; _addVisible = false; } protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { string user_agent = HttpContext.Current.Request.ServerVariables["HTTP_USER_AGENT"]; //if (user_agent.IndexOf("Chrome") == -1) //{ // litUpload.Text = "请使用谷歌浏览器打开ERP系统上传!"; //} //else //{ int userid = CurrentUser.UserID; int orgid = CurrentUser.UserPost.OrgID; litUpload.Text = "
"; //} } } }