Hello:
I created a datagrid that allows me to edit multiple rows at once. To do
this, I used an article in MSDN Library "Top Questions about the DataGrid
Web Server Control"
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstecha
rt/html/vbtchtopquestionsaboutaspnetdatagridservercontrol.asp). It's a great
article, and helped me a lot. However, one thing in the section "Checking
for Changed Items" I cannot understand. It says:
"It is helpful to understand that change events do not, by default, post the
page back to the server. Instead, the event is raised only when the page is
posted some other way (usually via a Click event). During page processing,
the page and its controls are initialized, and then all change events are
raised. Only when the change event's handlers have finished is the Click
event raised for the control that caused the post."
How can I use this in the real world? For instance, my user made all
necessary changes, then clicked an Update button to update the table.
Nothing changed, because the the Changed events for any control haven't
fired yet. So after the user changed the data but before he clicked an
Update button something needs to be done to fire the Changed events. What
needs to be done? How can I post the page back between these two user's
actions?
If you came across this issue, I would appreciate your input very much.
Thank you,
--
Peter Afonin