473,503 Members | 11,281 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DataGrid Control Events

10 New Member
I am working with editing within a DataGrid control cell and am confused about which events occur after the editing is completed. I see that 5 events can occur total, including the ones below and AfterColEdit, AfterUpdate.

1. BeforeColUpdate/ 2. AfterColUpdate/ 3. BeforeUpdate or all of these occur?


1. BeforeColUpdate says after editing is completed in a cell, but before dates is moved from the cell to the DataGrid control's copy buffer.
2. AfterColUpdates says that after data is moved from a cell in the DataGrid control to the DataGrid control's copy buffer.
3. BeforeUpdate says after editing is completed in a record, but before data is moved from the DataGrid control's copy buffer to the ADO data control's copy buffer.
Jan 31 '08 #1
2 2207
daniel aristidou
491 Contributor
What do you intend to do....is this just a general question or do you need to do something after a cell is updated (ie The Value has changed)....if so:by telling us what you want to do we may be able to make sure you use the right event....
Feb 1 '08 #2
jock1up
10 New Member
This is just for general information, not any specific result. Trying to understand these events or when they occur. Mostly wanted to know which ones or one occurs after editing is completed.
Feb 4 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
3100
by: Sharon | last post by:
I’m using a DataGrid control on my form; and I want to handle the KeyUp event. So I did: myDataGrid.KeyUp += new KeyEventHandler(this.OnKeyUp); When the DataGrid is empty, I mean when It has...
0
991
by: Charles Clarke | last post by:
Hi All Does anyone have an idea on how to do the following? In the editmode template of a datagrid control I have 2 dropdownlist controls The contents of the second depends on the Selection...
0
880
by: nfedin | last post by:
I am trying to use a datagrid to display/edit some database information. I would like to use the datagrids inherent edit capabilities to do it. I have setup the datagrid to display the data...
1
8135
by: Earl Teigrob | last post by:
PROBLEM: When a user control is loaded into a PlaceHolder control more than once, the events do not fire on the first click of a control on the dynamically loaded user control. In other words, the...
7
1135
by: z. f. | last post by:
Is the datagrid control sort and paging commands work only when both the page and grid property EnableViuewState=True ? when i tryed running the page when either one of them was set to false the...
1
2680
by: Gunjan Garg | last post by:
Hello All, I am working to create a generic datagrid which accepts a datasource(ListData - This is our own datatype) and depending on the calling program customizes itself for sorting,...
8
3914
by: Richard L Rosenheim | last post by:
I have a dataset containing a parent table related to a child table. The child table contains an ID field (which is configured as autonumber in the datatable), the ID of the parent, plus some...
4
2116
by: Jeff User | last post by:
Hi I tryed to solve this problem over in the framework.asp group, but still am having trouble. Hope someone here can help. using .net 1.1, VS 2003 and C# I have an asp.DataGrid control with a...
1
966
by: satish8067 | last post by:
hello, i have developed an custom datagrid control, i have created all its events also. but on running the project the events are not getting activated. Can anyone developed an Custom datagrid...
0
7207
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7095
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7294
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7470
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5602
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3183
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1523
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.