private void ShowTransactions()
        {
            gvRejectedTransactions.DataSource = null;
            gvRejectedTransactions.DataBind();
            gvOriginalTransactions.DataSource = null;
            gvOriginalTransactions.DataBind();
            pnlRejectedTransactions.Visible = false;
            pnlOriginalTransactions.Visible = false;
            lblRejectedTransactions.Visible = false;
            lblOriginalTransactions.Visible = false;
            tdOriginalTransactions.Visible  = false;
            tdRejectedTransactions.Visible  = false;
            btnMap.Visible = false;
            if (ddlPortfolios.SelectedValue.ToString() != "NA")
            {
                int adviserId = 0;
                if (Session["advisorVo"] != null)
                {
                    adviserId = ((AdvisorVo)Session["advisorVo"]).advisorId;
                }
                int portfolioId = 0;
                if (txtCustomerId.Value.ToString() != "" && ddlPortfolios.SelectedValue.ToString() != "NA")
                {
                    portfolioId = int.Parse(ddlPortfolios.SelectedValue.ToString());
                }
                List <MFTransactionVo> mfRejectTransactionVoList = new List <MFTransactionVo>();

                CustomerTransactionBo customerTransactionBo  = new CustomerTransactionBo();
                DataTable             dtRejectedTransactions = new DataTable();

                DataRow drRejectedTransaction;



                dtRejectedTransactions.Columns.Add("MFTransId");
                dtRejectedTransactions.Columns.Add("CustomerName");
                dtRejectedTransactions.Columns.Add("Scheme");
                dtRejectedTransactions.Columns.Add("Folio");
                dtRejectedTransactions.Columns.Add("Date");
                dtRejectedTransactions.Columns.Add("Units");
                dtRejectedTransactions.Columns.Add("Price");
                dtRejectedTransactions.Columns.Add("Amount");
                dtRejectedTransactions.Columns.Add("TransactioType");



                mfRejectTransactionVoList = customerTransactionBo.GetMFRejectTransactions(portfolioId, adviserId);


                if (mfRejectTransactionVoList != null)
                {
                    for (int i = 0; i < mfRejectTransactionVoList.Count; i++)
                    {
                        drRejectedTransaction    = dtRejectedTransactions.NewRow();
                        drRejectedTransaction[0] = mfRejectTransactionVoList[i].TransactionId;
                        drRejectedTransaction[1] = mfRejectTransactionVoList[i].CustomerName;
                        drRejectedTransaction[2] = mfRejectTransactionVoList[i].SchemePlan;
                        drRejectedTransaction[3] = mfRejectTransactionVoList[i].Folio;
                        drRejectedTransaction[4] = mfRejectTransactionVoList[i].TransactionDate.ToShortDateString();
                        drRejectedTransaction[5] = mfRejectTransactionVoList[i].Units.ToString("f2");
                        drRejectedTransaction[6] = mfRejectTransactionVoList[i].Price.ToString("f2");
                        drRejectedTransaction[7] = mfRejectTransactionVoList[i].Amount.ToString("f2");
                        drRejectedTransaction[8] = mfRejectTransactionVoList[i].TransactionType;
                        dtRejectedTransactions.Rows.Add(drRejectedTransaction);
                    }
                    gvRejectedTransactions.DataSource = dtRejectedTransactions;

                    gvRejectedTransactions.DataBind();
                    //((RadioButton)gvRejectedTransactions.Rows[0].Cells[0].FindControl("rdRejectId")).Checked = true;
                    gvRejectedTransactions.Visible  = true;
                    lblRejectedTransactions.Visible = true;
                    pnlRejectedTransactions.Visible = true;
                    tdRejectedTransactions.Visible  = true;
                    lblRejectedTransactions.Text    = "Select a Rejected Transaction To Map";
                }
                else
                {
                    lblRejectedTransactions.Visible = true;
                    lblRejectedTransactions.Text    = "No Rejection Transactions Available";
                    pnlRejectedTransactions.Visible = false;
                    tdRejectedTransactions.Visible  = false;
                }
            }
            else
            {
                gvRejectedTransactions.Visible  = false;
                lblRejectedTransactions.Visible = false;
                tdRejectedTransactions.Visible  = false;
                pnlRejectedTransactions.Visible = false;
            }
        }