/// <summary>
 /// Hold Button Click
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected void btnHold_Click(object sender, EventArgs e)
 {
     try
     {
         BindDataOnPostback();
         divOnHold.Visible = true;
         BLL_PURC_Purchase objhold = new BLL_PURC_Purchase();
         HoldUnHold.DTLog = objhold.GetRequisitionOnHoldLogHistory_ByReqsn(Request.QueryString["REQUISITION_CODE"]);
         HoldUnHold.BindLog();
         if (btnHold.Text == "UnHold")
         {
             btnSendRFQ.Enabled = false;
             btnCancel.Enabled  = false;
         }
         else
         {
             btnSendRFQ.Enabled = true;
             btnCancel.Enabled  = true;
         }
     }
     catch (Exception ex)
     {
         UDFLib.WriteExceptionLog(ex);
     }
 }
    protected void OnHold(object sender, CommandEventArgs e)
    {
        HiddenArgument.Value = e.CommandArgument.ToString();
        string[]          strArgs = HiddenArgument.Value.Split(',');
        BLL_PURC_Purchase objhold = new BLL_PURC_Purchase();

        HoldUnHold.DTLog = objhold.GetRequisitionOnHoldLogHistory_ByReqsn(strArgs[0]);
        HoldUnHold.BindLog();
    }