protected void btnAddQuiniela_Click(object sender, EventArgs e)
        {
            lblTittleModal.Visible = true;
            pnlBoleto.Visible      = false;
            btnBoletos.Visible     = false;

            int TotalChecks = 0;
            int CountChecks = 0;

            TotalChecks = gridQuiniela.Rows.Count;
            for (int x = 0; x < TotalChecks; x++)
            {
                RadioButtonList rdbOpcion = gridQuiniela.Rows[x].FindControl("rdbOpcion") as RadioButtonList;

                if (rdbOpcion.SelectedValue == "1" || rdbOpcion.SelectedValue == "2" || rdbOpcion.SelectedValue == "3")
                {
                    CountChecks = CountChecks + 1;
                }
            }

            if (CountChecks == TotalChecks)
            {
                for (int x = 0; x < TotalChecks; x++)
                {
                    RadioButtonList rdbOpcion = gridQuiniela.Rows[x].FindControl("rdbOpcion") as RadioButtonList;
                    Label           lblModal  = gridQuinielaModal.Rows[x].FindControl("lblOpcion") as Label;

                    if (rdbOpcion.SelectedValue == "1")
                    {
                        lblModal.Text = "L";
                    }
                    else if (rdbOpcion.SelectedValue == "2")
                    {
                        lblModal.Text = "E";
                    }
                    else if (rdbOpcion.SelectedValue == "3")
                    {
                        lblModal.Text = "V";
                    }
                }

                lblModalMsg.Text          = "Esta de acuerdo con las opciones seleccionadas?";
                lblModalMsg.ForeColor     = System.Drawing.Color.Blue;
                gridQuinielaModal.Visible = true;
                UpdatePanelModal.Update();
                btnAccept.Visible = true;
            }
            else
            {
                lblModalMsg.Text          = "Debes llenar todos los partidos";
                lblModalMsg.ForeColor     = System.Drawing.Color.Red;
                gridQuinielaModal.Visible = false;
                UpdatePanelModal.Update();
            }

            updateModalNewQuiniela.Update();
            ScriptManager.RegisterStartupScript(Page, Page.GetType(), "modalQuiniela", "$('#modalQuiniela').modal();", true);
        }
        private void actualizarGrid()
        {
            DataQuielaList = DB_Quiniela.getQuinielaPartidosByidQuiniela(idQuinielaHidden.Value);

            gridQuiniela.DataSource = DataQuielaList;
            gridQuiniela.DataBind();

            gridQuinielaModal.DataSource = DataQuielaList;
            gridQuinielaModal.DataBind();

            updateGridPrincipal.Update();
            UpdatePanelModal.Update();
        }