protected void Page_Load(object sender, EventArgs e) { this.userName = Page.User.Identity.Name.ToString().Substring(8); //this.userName = "******"; utility = new UtilityCashFlow(this.userName); SetUpUser(); TextBoxInvoiceNumber.Attributes.Add("onFocus", "TextBoxOnFocusAllToBlank('TextBoxInvoiceNumber')"); TextBoxVendorID.Attributes.Add("onFocus", "TextBoxOnFocusAllToBlank('TextBoxVendorID')"); TextBoxVendorName.Attributes.Add("onFocus", "TextBoxOnFocusAllToBlank('TextBoxVendorName')"); TextBoxBarcode.Attributes.Add("onFocus", "TextBoxOnFocusAllToBlank('TextBoxBarcode')"); if (!Page.IsPostBack) { bearCode.PopulateDepartments(CheckBoxListDepartments, VariablesCashManager.ERROR_LOG_FILE_NAME); SetUpUser(); PopulateOfficeLocations(); } }