private ApproveRejectRequisitionControl GetControl()
 {
     if (aprCtrl == null)
     {
         aprCtrl = new ApproveRejectRequisitionControl();
     }
     return(aprCtrl);
 }
        /// <summary>
        /// Loads the ApproveRequisition form
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                commonUI.MasterPage.setCurrentPage(this);
                aprCtrl = GetControl();
                //selectedIndexList = new List<int>();

                StationeryStoreInventorySystemController.Util.PutSession(sessionKey, aprCtrl);
                //StationeryStoreInventorySystemController.Util.PutSession(selectedSessionKey, selectedIndexList);
                //StationeryStoreInventorySystemController.Util.PutSession(remarksSessionKey, remarksList);
            }
            else
            {
                aprCtrl = (ApproveRejectRequisitionControl)StationeryStoreInventorySystemController.Util.GetSession(sessionKey);
                //selectedIndexList = (List<int>)StationeryStoreInventorySystemController.Util.GetSession(selectedSessionKey);
                //remarksList = (Dictionary<string, string>)StationeryStoreInventorySystemController.Util.GetSession(remarksSessionKey);
            }
            FillRequisitionList();
        }