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

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

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

        BindGrid();
    }
Ejemplo n.º 7
0
    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();
 }
Ejemplo n.º 9
0
 public void gvPriceHistory_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gvPriceHistory.EditIndex = -1;
     gvPriceHistory.DataBind();
     DialogMode = false;
     EditMode = false;
 }
Ejemplo n.º 10
0
 //取消
 protected void gdvData_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gdvData.EditIndex = -1;
     gdvData.ShowFooter = false;
     BinddtgData();
     lblMessage.Visible = false;
 }
Ejemplo n.º 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();
    }
Ejemplo n.º 12
0
 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";
 }
Ejemplo n.º 13
0
    protected void BranchEmpCurrentStatusGV_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
    {
        bEmployeeStatus = new BranchEmployeeStatusManager();

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

        //gvToppings.DataSource = ctx.Toppings;
        gvToppings.DataBind();
    }
Ejemplo n.º 15
0
 // 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);
    }
Ejemplo n.º 18
0
 // 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();
 }
Ejemplo n.º 20
0
 // 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";
 }
Ejemplo n.º 21
0
 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) { }
 }
Ejemplo n.º 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();
     }
 }
Ejemplo n.º 24
0
 protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     try
     {
         GridView1.EditIndex = -1;
         FillData();
     }
     catch (Exception exc)
     {
         ErrorMessage = exc.Message;
     }
 }
Ejemplo n.º 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;
        }
    }
Ejemplo n.º 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;
        }
    }
Ejemplo n.º 28
0
 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();
 }
Ejemplo n.º 30
0
 //cancel edit
 protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     this.GridView1.EditIndex = -1;
     this.BindData();
 }
Ejemplo n.º 31
0
 protected void gvFile_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gvFile.EditIndex    = -1;
     lbFileerrormsg.Text = "";
     BindRptFile();
 }
Ejemplo n.º 32
0
 ////////////////////////////////////////////////////
 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();
 }
Ejemplo n.º 33
0
 protected void GrdReferrer_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     GrdReferrer.EditIndex = -1;
     FillReferrerGrid();
 }
 protected void GrdNote_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
 }
Ejemplo n.º 35
0
 protected void modCancelCommand4(Object sender, GridViewCancelEditEventArgs e)
 {
     GridViewPunish.EditIndex = -1;
     BindData();
 }
Ejemplo n.º 36
0
 protected void gv_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gv.EditIndex = -1;
     BindData();
 }
Ejemplo n.º 37
0
 public void Record_cancel(Object sender, GridViewCancelEditEventArgs e)
 {
     GridView1.EditIndex = -1;
     bindData();
 }
Ejemplo n.º 38
0
 protected void gvBCommit_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gvBCommit.EditIndex = -1;
     BindFundDetails(GetTransId());
 }
Ejemplo n.º 39
0
 protected void GridView1_RowCancelingEdit1(object sender, GridViewCancelEditEventArgs e)
 {
     GridView1.EditIndex = -1;
     Filldata();
 }
Ejemplo n.º 40
0
 protected void gvScheduleDetails_CancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     GetData((int)ViewState["SetId"]);
     gvScheduleDetails.EditIndex = -1;
     gvScheduleDetails.DataBind();
 }
Ejemplo n.º 41
0
 protected void gvTest_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gvMedicineCategory.EditIndex = -1;
     BindGridDataMedicineCategory();
 }
Ejemplo n.º 42
0
 protected void gridM_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gridM.EditIndex = -1;
     BindGridView();
 }
Ejemplo n.º 43
0
 protected void modCancelCommand3(Object sender, GridViewCancelEditEventArgs e)
 {
     GridViewTraining.EditIndex = -1;
     BindData();
 }
Ejemplo n.º 44
0
 protected void modCancelCommand5(Object sender, GridViewCancelEditEventArgs e)
 {
     GridViewPosiSalary.EditIndex = -1;
     BindData();
 }
Ejemplo n.º 45
0
 protected void AgentGrid_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
 }
Ejemplo n.º 46
0
 protected void gvproduct_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     e.Cancel            = true;
     gvproduct.EditIndex = -1;
     fillgrid();
 }
Ejemplo n.º 47
0
 protected void gvMajor_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gvMajor.EditIndex = -1;
     GetMajor();
 }
Ejemplo n.º 48
0
 protected void modCancelCommand2(Object sender, GridViewCancelEditEventArgs e)
 {
     GridViewLicense.EditIndex = -1;
     BindData();
 }
Ejemplo n.º 49
0
 protected void GridView1_RowCancelingEdit(Object sender, GridViewCancelEditEventArgs e)
 {
     GridView1.EditIndex = -1;
     LlenarTabla();
     lblInfo.Text = "";
 }
Ejemplo n.º 50
0
 private void JobGroupsGridView_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     this.JobGroupsGridView.EditIndex = -1;
     this.BindJobGroups();
 }
Ejemplo n.º 51
0
 protected void gvData_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gvData.EditIndex  = -1;
     gvData.DataSource = insList;
     gvData.DataBind();
 }
Ejemplo n.º 52
0
 protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     GridView1.EditIndex = -1;
     GridViewBind();
 }
Ejemplo n.º 53
0
 protected void dgvProveedores_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     dgvProveedores.EditIndex = -1;
     CargarDatosGrilla();
 }
Ejemplo n.º 54
0
 protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     GridView1.EditIndex = -1;
     GetDataFromCache();
 }
Ejemplo n.º 55
0
 protected void gdvAddProduct_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gdvAddProduct.EditIndex = -1;
     fillgridview();
 }
Ejemplo n.º 56
0
 //类别取消操作
 protected void CatTypeList_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     CatTypeList.EditIndex = -1;
     BindGrid();
 }
Ejemplo n.º 57
0
 protected void gv_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gv.EditIndex = -1;
     BindData();
 }
Ejemplo n.º 58
0
 protected void gdvReceived_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     gdvReceived.EditIndex = -1;
     BindGdvReceived();
 }
Ejemplo n.º 59
0
 protected void gvSelectedProductsSales_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
 {
     selectedProducts.Rows[e.RowIndex].Delete();
     UpdateGridView();
 }