private CheckRequisitionControl GetControl()
 {
     if (checkRequisitionControlObj == null)
         checkRequisitionControlObj = new CheckRequisitionControl();
     return checkRequisitionControlObj;
 }
        /// <summary>
        /// Loads the CheckRequisition form
        ///     Modified By: SanLaPyaye
        ///     Modified Date: 27/01/2012
        ///     Modification Reason: Bind the data to GridView
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        /// 
        /// <summary>
        /// Loads the CheckRequisition form
        ///     Modified By: Thazin Win
        ///     Modified Date: 02/02/2012
        ///     Modification Reason: Show the requisition data in GridView/withdraw the requisition process/Show the requsition detail
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Request.QueryString["RequisitionIDIndex"] == null)
                {
                    checkRequisitionControlObj = GetControl();
                    StationeryStoreInventorySystemController.Util.PutSession(sessionKey, checkRequisitionControlObj);

                    //checkRequisitionControlObj = new CheckRequisitionControl();
                    //Util.PutSession(sessionKey, checkRequisitionControlObj);
                    //FillRequisitions();
                }
                else
                {
                    checkRequisitionControlObj = (CheckRequisitionControl)StationeryStoreInventorySystemController.Util.GetSession(sessionKey);
                    //checkRequisitionControlObj = (CheckRequisitionControl)Util.GetSession(sessionKey);

                    checkRequisitionControlObj.SelectRequisitionID(SystemStoreInventorySystemUtil.Converter.objToString(Request.QueryString["RequisitionIDIndex"]));

                    FillRequisitionDetails(checkRequisitionControlObj.RequisitionDetail);

                    lblRequisitionID.Text = checkRequisitionControlObj.RequisitionId;
                    //FillRequisitions();
                    //lblRequisitionID.Text = Request.QueryString["RequisitionIDIndex"].ToString();
                }
            }
            else
            {
                checkRequisitionControlObj = (CheckRequisitionControl)StationeryStoreInventorySystemController.Util.GetSession(sessionKey);
            }
            FillRequisitionList();
        }