protected void Page_Load(object sender, EventArgs e) { if (!this.Page.IsPostBack) { base.CheckAdminPower("ReadProductBrand", PowerCheckType.Single); string queryString = RequestHelper.GetQueryString <string>("Action"); int id = RequestHelper.GetQueryString <int>("ID"); if ((id != 0) && (queryString != string.Empty)) { base.CheckAdminPower("UpdateProductBrand", PowerCheckType.Single); ChangeAction up = ChangeAction.Up; if (queryString == "down") { up = ChangeAction.Down; } ProductBrandBLL.ChangeProductBrandOrder(up, id); AdminLogBLL.AddAdminLog(ShopLanguage.ReadLanguage("MoveRecord"), ShopLanguage.ReadLanguage("ProductBrand"), id); } base.BindControl(ProductBrandBLL.ReadProductBrandCacheList(), this.RecordList); } }