protected void DisplayRequest(string requestId) { Request request = requestmodel.FindRequestById(requestId); BindRequest(request); ShowImage(request); }
protected void DisplayRequest(string requestId) { Request request = requestmodel.FindRequestById(requestId); BindRequest(request); EnableControls(request.RequestStatus); ShowImage(request); }
public void DisplayPage(string requestId) { if (editRequest()) { SendForApprovalButton.Text = "Send for Approval"; Request request = requestmodel.FindRequestById(requestId); BindRequest(request); } else { var requestid = Guid.NewGuid().ToString(); RequestId.Text = requestid; if (createRequest()) { SendForApprovalButton.Text = "Send for Approval"; } if (createNotify()) { SendForApprovalButton.Text = "Send"; } } }