S
Steve Marshall
I'm very new to ASP.NET and I'm develooing an application with an SQL
Server database behind it. I have a form where the user can search
for records, and the summary results are shown in a GridView. They
can select one of these (using the GridView select mechanism) then
click an Edit hyperlink, which will take them to another window which
shows the full details of the record, and they can edit it as
required. When they save the updated record, the edit window closes,
revealing the window with the Gridview again. It's done like this
because there are way too many fields in the record to fit across a
line in the grid.
The problem is that I would like to update the Gridview after editing
is done (if it is done), but I can see no way to do it, because the
window has no way of knowing when the edit window does its thing - it
doesn't know when the window opens, closes, updates the data -
nothing. In fact I can't even see an event that will tell me when a
Hyperlink is clicked! This sort of thing is trivial in a winforms
application, but I'm a bit flummoxed at how hard it appears to be in
this environment.
Anyone know a way to achieve this?
Server database behind it. I have a form where the user can search
for records, and the summary results are shown in a GridView. They
can select one of these (using the GridView select mechanism) then
click an Edit hyperlink, which will take them to another window which
shows the full details of the record, and they can edit it as
required. When they save the updated record, the edit window closes,
revealing the window with the Gridview again. It's done like this
because there are way too many fields in the record to fit across a
line in the grid.
The problem is that I would like to update the Gridview after editing
is done (if it is done), but I can see no way to do it, because the
window has no way of knowing when the edit window does its thing - it
doesn't know when the window opens, closes, updates the data -
nothing. In fact I can't even see an event that will tell me when a
Hyperlink is clicked! This sort of thing is trivial in a winforms
application, but I'm a bit flummoxed at how hard it appears to be in
this environment.
Anyone know a way to achieve this?