protected void gvList_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     this.gvList.EditIndex = -1;
     this.GridViewDataBind(false);
     //this.btnAdd.Enabled = true;
     this.SetGvListHeaderAddBtn(true);
 }
 protected void GridView_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     //Reset the edit index.
     GridView1.EditIndex = -1;
     //Bind data to the GridView control.
     BindData();
 }
Exemple #3
0
 protected void grvCitas_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     //Reset the edit index.
     grvCitas.EditIndex = -1;
     //Bind data to the GridView control.
     DataBind();
 }
    protected void CancelEdit(object sender, GridViewCancelEditEventArgs e)
    {
        gvArticle.EditIndex = -1;
        gvArticle.DataSource = dv;

        gvArticle.DataBind();
    }
    protected void EmpQualStatusGV_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        EmpQualStatusGV.EditIndex = -1;

        EmpQualStatusGV.DataSource = EducationSQL;
        EmpQualStatusGV.DataBind();
    }
Exemple #6
0
    protected void grid1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        grid1.EditIndex = -1;
        statusLabel.Text = "Editing canceled";

        BindGrid();
    }
    protected void gvSize_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        gvSize.EditIndex = -1;

        BindSizeMasterGrid();
        
    }
 protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     obj = (ObjectDataSource)Session["obj"];
     GridView1.EditIndex = -1;
     GridView1.DataSource = obj;
     GridView1.DataBind();
 }
 public void gvPriceHistory_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gvPriceHistory.EditIndex = -1;
     gvPriceHistory.DataBind();
     DialogMode = false;
     EditMode = false;
 }
 //取消
 protected void gdvData_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gdvData.EditIndex = -1;
     gdvData.ShowFooter = false;
     BinddtgData();
     lblMessage.Visible = false;
 }
Exemple #11
0
    protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        //Tirei a linha clicada do modo de edição
        //E Voltei para o modo normal
        GridView1.EditIndex = -1;

        this.CarregarGrid();
    }
 protected void gv_currency_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gv_currency.EditIndex = -1;
     gv_currency.Columns.Clear();
     bindDataSource();
     this.lbtn_addcurrency.Enabled = true;
     this.lbtn_addcurrency.Text = "Add Currency";
 }
    protected void BranchEmpCurrentStatusGV_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        bEmployeeStatus = new BranchEmployeeStatusManager();

        BranchEmpCurrentStatusGV.EditIndex = -1;
        DataTable getds = BranchEmployeeStatusManager.getSpecBranchEmpStatus(branchID);
        BindDataSetToGV(getds);
    }
Exemple #14
0
    protected void gvToppings_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        //var ctx = new MaryPizzaEntities();
        gvToppings.EditIndex = -1;

        //gvToppings.DataSource = ctx.Toppings;
        gvToppings.DataBind();
    }
 // Handle video category cancel event
 protected void categoryGrid_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     //Reset the edit index.
     categoryGrid.EditIndex = -1;
     //Bind data to the GridView control.
     BindCategoryGrid();
     h3Title.Text = "Video Category List";
 }
    protected void dvTimeSheet_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        // Reset the edit index (so no columns are being edited)
        dvTimeSheet.EditIndex = -1;

        // Redraw the grid view (you can call a method that queries the db and sets/binds the data source)
        populategridview();
    }
    protected void AssignedEmpGV_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        bEmployeeStatus = new BranchEmployeeStatusManager();

        AssignedEmpGV.EditIndex = -1;
        DataTable getds = BranchEmployeeStatusManager.BindGrid();
        BindDataSetToGV(getds);
    }
 // Cancel edit mode
 protected void grid_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     // Cancel edit mode
     grid.EditIndex = -1;
     // Set status message
     statusLabel.Text = "Editing canceled";
     // Reload the grid
     BindGrid();
 }
 protected void gvCountDetails_OnRowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     ////Reset the edit index.
     //gvCountDetails.EditIndex = -1;
     ////Bind data to the GridView control.
     //bindgvCountDetails();
     gvaudit.EditIndex = -1;
     displaygrid();
 }
 // Handle video edition cancel event
 protected void editionGrid_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     //Reset the edit index.
     videoEdGrid.EditIndex = -1;
     //Bind data to the GridView control.
     BindvideoEditionGrid();
     Session.Remove("currentEdImage");
     h3Title.Text = "Video Edition List";
 }
 protected void grvListaTurmaOk_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     grvListaTurmaOk.EditIndex = -1;
     grvListaTurmaOk.DataSource = Session["listaTurmas"];
     grvListaTurmaOk.DataBind();
     for (int i = 0; i < grvListaTurmaOk.Rows.Count; i++)
     {
         populaDropOk(i, listaTurmas[i].Professor.Nome.ToString());
     }
 }
 protected void gvDetails_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     try
     {
         dvMsg.Visible = false;
         gvDetails.EditIndex = -1;
         BindRentAccountDetails();
     }
     catch (Exception ex) { }
 }
Exemple #23
0
 protected void dgrdUserDetail_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     try
     {
         dgrdUserDetail.EditIndex = -1;
         BindGrid();
     }
     catch (Exception ex)
     {
         ((Label)(Master.FindControl("lblMessage"))).Text = ex.Message.ToString();
     }
 }
Exemple #24
0
 protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     try
     {
         GridView1.EditIndex = -1;
         FillData();
     }
     catch (Exception exc)
     {
         ErrorMessage = exc.Message;
     }
 }
Exemple #25
0
 protected void gvAnimales_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     try
     {
         gvAnimales.EditIndex = -1;
         CargarGvAnimales();
     }
     catch (Exception ex)
     {
         MostrarMensaje(ex.Message);
     }
 }
    protected void gvViajes_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        try
        {
            gvViajes.EditIndex = -1;
            CargarDestinos();
            LlenarCategoriaFT();
            LlenarDestinoFT();
        }
        catch (Exception ex)
        {

            Title = "Error: " + ex.Message;
        }
    }
Exemple #27
0
    protected void ControlsGridView_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        ControlsGridView.EditIndex = -1;

        try
        {
            List<JobTypeControlCookie> data = JobTypeControlCart.RetrieveCart();
            ControlsGridView.DataSource = data;
            ControlsGridView.DataBind();
        }
        catch (Exception ex)
        {
            FormMessage.ForeColor = Color.Red;
            FormMessage.Text = ex.Message;
        }
    }
 protected void gridCuadrillas_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gridCuadrillas.EditIndex = -1;
     BindGrid();
 }
 protected void grdCity_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     e.Cancel          = true;
     grdCity.EditIndex = -1;
     BindData();
 }
Exemple #30
0
 //cancel edit
 protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     this.GridView1.EditIndex = -1;
     this.BindData();
 }
Exemple #31
0
 protected void gvFile_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gvFile.EditIndex    = -1;
     lbFileerrormsg.Text = "";
     BindRptFile();
 }
 ////////////////////////////////////////////////////
 protected void GridView1_RowCancelingEdit1(object sender, GridViewCancelEditEventArgs e)
 {
     GridView1.EditIndex  = -1;//không lấy giá trị cột nào hết
     GridView1.DataSource = kn.laydata("SELECT * FROM LoaiMon");
     GridView1.DataBind();
 }
Exemple #33
0
 protected void GrdReferrer_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     GrdReferrer.EditIndex = -1;
     FillReferrerGrid();
 }
 protected void GrdNote_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
 }
Exemple #35
0
 protected void modCancelCommand4(Object sender, GridViewCancelEditEventArgs e)
 {
     GridViewPunish.EditIndex = -1;
     BindData();
 }
Exemple #36
0
 protected void gv_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gv.EditIndex = -1;
     BindData();
 }
 public void Record_cancel(Object sender, GridViewCancelEditEventArgs e)
 {
     GridView1.EditIndex = -1;
     bindData();
 }
Exemple #38
0
 protected void gvBCommit_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gvBCommit.EditIndex = -1;
     BindFundDetails(GetTransId());
 }
Exemple #39
0
 protected void GridView1_RowCancelingEdit1(object sender, GridViewCancelEditEventArgs e)
 {
     GridView1.EditIndex = -1;
     Filldata();
 }
Exemple #40
0
 protected void gvScheduleDetails_CancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     GetData((int)ViewState["SetId"]);
     gvScheduleDetails.EditIndex = -1;
     gvScheduleDetails.DataBind();
 }
Exemple #41
0
 protected void gvTest_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gvMedicineCategory.EditIndex = -1;
     BindGridDataMedicineCategory();
 }
Exemple #42
0
 protected void gridM_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gridM.EditIndex = -1;
     BindGridView();
 }
Exemple #43
0
 protected void modCancelCommand3(Object sender, GridViewCancelEditEventArgs e)
 {
     GridViewTraining.EditIndex = -1;
     BindData();
 }
Exemple #44
0
 protected void modCancelCommand5(Object sender, GridViewCancelEditEventArgs e)
 {
     GridViewPosiSalary.EditIndex = -1;
     BindData();
 }
Exemple #45
0
 protected void AgentGrid_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
 }
Exemple #46
0
 protected void gvproduct_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     e.Cancel            = true;
     gvproduct.EditIndex = -1;
     fillgrid();
 }
Exemple #47
0
 protected void gvMajor_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gvMajor.EditIndex = -1;
     GetMajor();
 }
Exemple #48
0
 protected void modCancelCommand2(Object sender, GridViewCancelEditEventArgs e)
 {
     GridViewLicense.EditIndex = -1;
     BindData();
 }
 protected void GridView1_RowCancelingEdit(Object sender, GridViewCancelEditEventArgs e)
 {
     GridView1.EditIndex = -1;
     LlenarTabla();
     lblInfo.Text = "";
 }
Exemple #50
0
 private void JobGroupsGridView_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     this.JobGroupsGridView.EditIndex = -1;
     this.BindJobGroups();
 }
 protected void gvData_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gvData.EditIndex  = -1;
     gvData.DataSource = insList;
     gvData.DataBind();
 }
Exemple #52
0
 protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     GridView1.EditIndex = -1;
     GridViewBind();
 }
 protected void dgvProveedores_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     dgvProveedores.EditIndex = -1;
     CargarDatosGrilla();
 }
Exemple #54
0
 protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     GridView1.EditIndex = -1;
     GetDataFromCache();
 }
Exemple #55
0
 protected void gdvAddProduct_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gdvAddProduct.EditIndex = -1;
     fillgridview();
 }
 //类别取消操作
 protected void CatTypeList_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     CatTypeList.EditIndex = -1;
     BindGrid();
 }
Exemple #57
0
 protected void gv_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gv.EditIndex = -1;
     BindData();
 }
Exemple #58
0
 protected void gdvReceived_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gdvReceived.EditIndex = -1;
     BindGdvReceived();
 }
Exemple #59
0
 protected void gvSelectedProductsSales_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     selectedProducts.Rows[e.RowIndex].Delete();
     UpdateGridView();
 }