コード例 #1
0
ファイル: TourDestinations.aspx.cs プロジェクト: solo123/AGMV
    protected void fvTourDayDest_ItemDeleted(object sender, FormViewDeletedEventArgs e)
    {
        lstTourDest.SelectedIndex = -1;
        //fvTourDayDest.ChangeMode(FormViewMode.Insert);
        fvTourDayDest.DataBind();

        lstTourDest.DataBind();
    }
コード例 #2
0
ファイル: Coberturas.aspx.cs プロジェクト: royriojas/RGEN2
 protected void FormViewCoberturasAplicables_Delete(object sender, FormViewDeletedEventArgs e)
 {
     if (e.Exception != null)
     {
         e.ExceptionHandled = true;
         showMessage("Error : " + e.Exception.Message);
         FormViewCoberturasAplicables.ChangeMode(FormViewMode.Edit);
     }
     else
     {
         showMessage("Cobertura eliminada!");
         Response.Redirect(string.Format("~/RimacInforme/Coberturas.aspx?IdAjuste={0}&nc={1}", Request.QueryString["IdAjuste"], DateTime.Now.Ticks));
     }
 }
コード例 #3
0
 protected void FormView1_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     if (e.Exception != null)
     {
         lblError.Text = "A database error has occurred. <br /><br />" +
                         "Message: " + e.Exception.Message;
         e.ExceptionHandled = true;
     }
     else if (e.AffectedRows == 0)
     {
         lblError.Text = "Another user may have updated that product.<br /> Please try again.";
     }
     else
     {
         //no errors occurred
         ddlTechnician.DataBind();
     }
 }
コード例 #4
0
 protected void FormView1_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     if (e.Exception != null)
     {
         lblError.Text = "An exception has occurred. " +
             "The product was not deleted.<br /><br />" +
             "Message: " + e.Exception.Message;
         e.ExceptionHandled = true;
     }
     else if (e.AffectedRows == 0)
     {
         lblError.Text = "Another user may have updated that product. "
             + "Please try again.";
     }
     else
     {
         GridView1.DataBind();
     }
 }
コード例 #5
0
 protected void FormView1_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     GridView1.DataBind();
 }
コード例 #6
0
 protected void FormView1_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     
 }
コード例 #7
0
    protected void SelectedPatientFormView_ItemDeleted(object sender, FormViewDeletedEventArgs e)
    {
        if (e.Exception != null)
        {
            Common.ExceptionHandling(e.Exception, UpdatePatientExceptionLabel);

            e.ExceptionHandled = true;

            IsPatientUpdated = false;
        }
        else if (e.AffectedRows == -1)
        {

            Result = new Patient();

            SelectedEvent = EventTypes.Selected;
            RefreshParentDialog();

        }
    }
コード例 #8
0
 protected void SaleFormView_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     SalesView.DataBind();
 }
コード例 #9
0
 void fvCityStateZip_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     this.Response.Redirect("~/CityStateZip/CityStateZipGrid.aspx");
 }
コード例 #10
0
 protected void AgentFormView_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     AgentsView.DataBind();
 }
コード例 #11
0
 void fvFacility_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     this.Response.Redirect("~/Facility/FacilityGrid.aspx");
 }
コード例 #12
0
 protected void FormView1_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     Response.Redirect("~/EditareMostre.aspx");
 }
コード例 #13
0
ファイル: ListDetails.aspx.cs プロジェクト: itjac/ERP-Grupo5
 protected void FormView1_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     GridView1.DataBind();
 }
コード例 #14
0
 protected void FormView1_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     Response.Write("<script>window.opener.form1.Refresh.value='true';window.opener.form1.submit();window.close();</script>");
     Response.End();
 }
コード例 #15
0
ファイル: MessageBox.aspx.cs プロジェクト: ekushok/HANS
 protected void FormView1_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     Response.Redirect("~/MemberPages/MessageBox.aspx");
 }
コード例 #16
0
 protected void MediaFormView_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     MediaGridView.DataBind();
     gridViewPanel.Visible = true;
     MediaGridView.PagerSettings.Visible = true;
 }
コード例 #17
0
 protected void FormView1_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     Response.Redirect("List.aspx");
 }
コード例 #18
0
ファイル: DocumentFileModify.aspx.cs プロジェクト: ishui/rms2
 protected void FormView1_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     Response.Write("<script>window.opener.location.reload();window.close();</script>");
     Response.End();
 }
コード例 #19
0
ファイル: ActionEditCtl.ascx.cs プロジェクト: solo123/AGMV
 protected void fvAction_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     ItemChanged();
 }
コード例 #20
0
ファイル: DCCDB.aspx.cs プロジェクト: viengkhone/NTPC
 protected void FormView1_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     SqlDS_Gridview_Main.DataBind();
     hfSelectedTAB.Value = "0";
     Multiview1.ActiveViewIndex = 0;
 }
コード例 #21
0
 protected void FormView1_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     Response.Redirect("~/HelpDesk/HelpDeskLista.aspx");
 }
コード例 #22
0
 protected void FormView_Marriagecertificate_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
 }
コード例 #23
0
ファイル: TourFee.aspx.cs プロジェクト: solo123/AGMV
 protected void fvTourFee_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     lstTourFee.DataBind();
 }
コード例 #24
0
 protected void ProductFormView_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     ProductGridView.DataBind();
 }
コード例 #25
0
ファイル: FlightEdit.aspx.cs プロジェクト: solo123/AGMV
 protected void fvFlight_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     Response.Redirect("FlightsList.aspx");
 }
コード例 #26
0
 protected void FormView1_ItemDeleted(object sender, FormViewDeletedEventArgs e) {
     if (e.Exception == null || e.ExceptionHandled) {
         Response.Redirect(table.ListActionPath);
     }
 }
コード例 #27
0
 protected void FormView1_ItemDeleted1(object sender, FormViewDeletedEventArgs e)
 {
     Response.Redirect("~/Anagrafica/RichiestamaterialeLista.aspx");
 }
コード例 #28
0
 void fvClientAudit_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     this.Response.Redirect("~/ClientAudit/ClientAuditGrid.aspx");
 }
コード例 #29
0
 protected void CustFormView_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     CustomersView.DataBind();
 }
コード例 #30
0
 protected void FvEditar_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     GvProdutos.DataBind();
 }
コード例 #31
0
 void fvOffering_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     this.Response.Redirect("~/Offering/OfferingGrid.aspx");
 }
コード例 #32
0
 //ItemDeleted Event Control
 protected void FormView1_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     Response.Redirect("~/prescription.aspx");
 }
コード例 #33
0
 protected void FormView1_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
 }
コード例 #34
0
 protected void FormViewRapportino_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     this.Response.Redirect("~/Rapporti/RapportiLista.aspx");
 }
コード例 #35
0
 protected void phys_person_deleted(object sender, FormViewDeletedEventArgs e)
 {
     Response.Redirect("~/PeopleList");
 }
コード例 #36
0
 void fvListingType_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     this.Response.Redirect("~/ListingType/ListingTypeGrid.aspx");
 }
コード例 #37
0
 protected void FormViewNonConformita_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     Response.Redirect("~/Qualita/NonConformitaList.aspx");
 }
コード例 #38
0
 protected void frmViewLocalizacao_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     gvEstados.DataBind();
 }
コード例 #39
0
 void fvPaymentInfo_ItemDeleted(object sender, FormViewDeletedEventArgs e)
 {
     this.Response.Redirect("~/PaymentInfo/PaymentInfoGrid.aspx");
 }