Exemplo n.º 1
0
        protected void DisplayRequest(string requestId)
        {
            Request request = requestmodel.FindRequestById(requestId);

            BindRequest(request);
            ShowImage(request);
        }
Exemplo n.º 2
0
        protected void DisplayRequest(string requestId)
        {
            Request request = requestmodel.FindRequestById(requestId);

            BindRequest(request);
            EnableControls(request.RequestStatus);
            ShowImage(request);
        }
Exemplo n.º 3
0
 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";
         }
     }
 }