protected void Page_Load(object sender, EventArgs e) { RegisterOEMSkins("form.css"); if (!IsPostBack) { OnLineCustomerView view = OnLineCustomerService.Query(this.CurrentCompany.CompanyId); if (view != null) { this.txtTitle.Text = view.Title; this.ftbContent.Text = view.Content; } } BindMember(); }
protected void Page_Load(object sender, EventArgs e) { RegisterOEMSkins("core.css"); RegisterOEMSkins("from.css"); RegisterOEMSkins("page.css"); if (!IsPostBack) { Guid companyId = isOem()? BasePage.OEM.CompanyId : OnLineCustomerService.QueryPlatForm(); PublishRoles publishRoles = isOem() ? PublishRoles.OEM : PublishRoles.平台; OnLineCustomer onLineCustomer = OnLineCustomerService.Query(companyId, publishRoles); if (onLineCustomer != null) { this.lblTitle.Text = onLineCustomer.Title; this.lblContent.Text = onLineCustomer.Content; BindDividGroup(onLineCustomer); } } }