protected void btnInitiateApprovalProcess_Click(object sender, EventArgs e) { #region Approval Process if (ddlAPPanelID != null && ddlAPPanelID.SelectedValue != "0") { Boolean apResult = APRobot.CreateApprovalProcessForNewBill(CMBillID, Int64.Parse(ddlAPPanelID.SelectedValue.ToString())); if (apResult == true) { MiscUtil.ShowMessage(lblMessage, "Approval Process Submited successfully.", UIConstants.MessageType.GREEN); } else { MiscUtil.ShowMessage(lblMessage, "Failed to Submit Approval Process.", UIConstants.MessageType.RED); } EnableDisableApprovalProcessCheck(); } #endregion }