Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wrong Event firing
Message
From
09/11/2004 12:56:54
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Wrong Event firing
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
00959664
Message ID:
00959664
Views:
33
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
Next
Reply
Map
View

Click here to load this message in the networking platform