Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wrong Event firing
Message
De
09/11/2004 12:56:54
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Wrong Event firing
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
00959664
Message ID:
00959664
Vues:
34
I am using the mmDataGrid. I have the respective Update, Edit, Delete, Cancel and PageIndex events set up. When I execute the Cancel command, the Delete event fires. I have no idea what is going on. It was working before. I have two grids that do exactly the same thing.
private void InitializeComponent()
{
	this.grdClientDiagnosis.UpdateCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.grdClientDiagnosis_UpdateCommand);
	this.grdClientDiagnosis.DeleteCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.grdClientDiagnosis_DeleteCommand);
	this.grdClientDiagnosis.PageIndexChanged += new System.Web.UI.WebControls.DataGridPageChangedEventHandler(this.grdClientDiagnosis_PageIndexChanged);
	this.grdClientDiagnosis.CancelCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.grdClientDiagnosis_CancelCommand);
	this.grdClientDiagnosis.EditCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.grdClientDiagnosis_EditCommand);
	this.btnAddDiagnosis.Click += new System.EventHandler(this.btnAddDiagnosis_Click);
	this.Load += new System.EventHandler(this.Page_Load);

}
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform