protected void OnClick_btnUpdate(object sender, EventArgs e) { OfflineBondOrderBo OfflineBondOrderBo = new OfflineBondOrderBo(); OfflineBondOrderBo.UpdateAllotmentDetails(userVo.UserId, SaveDetails(), int.Parse(Request.QueryString["COADID"])); btnUpdate.Visible = false; ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "Message", "alert('Bond order Updated');", true); ControlVisiblity(false); }
protected void OnClick_btnCreateAllotment(object sender, EventArgs e) { OfflineBondOrderBo OfflineBondOrderBo = new OfflineBondOrderBo(); OfflineBondOrderBo.CreateAllotmentDetails(userVo.UserId, SaveDetails()); //Cache.Remove("BondOrderBookList" + userVo.UserId.ToString()); ControlVisiblity(false); btnCreateAllotment.Visible = false; btnGo.Visible = false; ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "Message", "alert('Bond order created');", true); }