protected void AdjVouGridView_SelectedIndexChanged(object sender, EventArgs e)
        {
            //find which orderID has been clicked
            VoucherId        = (int)AdjVouGridView.SelectedDataKey.Value;
            ViewState["vid"] = VoucherId;
            AdjVouDetailsGridView.Visible = true;
            Label3.Visible                   = true;
            RemarkTextBox.Visible            = true;
            AdjVouDetailsGridView.DataSource = AdjustmentBizLogic.ListVoucherDetails(VoucherId);
            AdjVouDetailsGridView.DataBind();
            //ModalPopupExtender.Show();

            if (StatusRadioButtonList.SelectedValue == "Approved")
            {
                ApproveButton.Visible    = false;
                ManagerAppButton.Visible = false;
                RejectButton.Visible     = false;
                Label3.Visible           = false;
                RemarkTextBox.Visible    = false;
            }
            else if (StatusRadioButtonList.SelectedValue == "Pending Supervisor Approval")
            {
                ApproveButton.Visible    = true;
                ManagerAppButton.Visible = true;
                RejectButton.Visible     = true;
                Label3.Visible           = true;
                RemarkTextBox.Visible    = true;
                AdjVouDetailsGridView.Columns[5].Visible = false;
            }
        }
        protected void AdjVouDetailsGridView_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            int VoucherId = (int)ViewState["voucherid"];

            AdjVouDetailsGridView.DataSource = AdjustmentBizLogic.ListVoucherDetails(VoucherId);

            AdjVouDetailsGridView.PageIndex = e.NewPageIndex;
            AdjVouDetailsGridView.DataBind();
            //BindGrid();
        }