//protected void uoVehicleContractList_ItemDeleting(object sender, ListViewDeleteEventArgs e)
        //{

        //}
        #endregion

        #region Functions
        /// <summary>
        /// Date Created: 18/08/2011
        /// Created By: Gabriel Oquialda
        /// (description) Get vendor vehicle contract List<ContractVehicle>
        /// ---------------------------------------------------
        /// Date Modified:  16/Aug/2013
        /// Modified By:    Josephine Gad
        /// (description)   Change DataTable to void and put it in Session
        /// </summary>
        /// </summary>
        public void GetVendorMeetGreetContractList()
        {
            List <ContractMeetAndGreet> list = new List <ContractMeetAndGreet>();

            list = MeetAndGreetBLL.GetVendorMeetAndGreetBranchContractByBranchID(GlobalCode.Field2String(Request.QueryString["vmId"]));

            if (list.Count > 0)
            {
                ucLabelVehicle.Text = list[0].VendorName + " Contract List";
            }
            else
            {
                ucLabelVehicle.Text = "Contract List";
            }

            uoVehicleContractList.DataSource = list;
            uoVehicleContractList.DataBind();
        }
        protected void uoVehicleContractList_ItemCommand(object sender, ListViewCommandEventArgs e)
        {
            string strLogDescription;
            string strFunction;

            int index = Convert.ToInt32(e.CommandArgument);

            if (e.CommandName == "Select")
            {
                //Insert log audit trail (Gabriel Oquialda - 15/11/2011)
                strLogDescription = "Meet and Greet contract is flagged inactive.";
                strFunction       = "uoVehicleContractList_ItemCommand";

                DateTime currentDate = CommonFunctions.GetCurrentDateTime();

                MeetAndGreetBLL.UpdateMeetGreetContractFlag(index, uoHiddenFieldUser.Value,
                                                            strLogDescription, strFunction, Path.GetFileName(Request.Path), CommonFunctions.GetDateTimeGMT(currentDate));
                GetVendorMeetGreetContractList();
            }
        }